[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Bug in mountpoint applet?
From:       Michael Tokarev <mjt () tls ! msk ! ru>
Date:       2012-08-15 6:14:13
Message-ID: 502B3E35.5020709 () msgid ! tls ! msk ! ru
[Download RAW message or body]

On 15.08.2012 10:12, Michael Tokarev wrote:

> 
>   $ mkdir /tmp/test
>   $ cd /tmp/test
>   $ mkdir -p a/b
>   $ mount -t tmpfs tmpfsb a/b
> # here, a/b is a mountpont obvously.  Now, we mount another dir over everything:
>   $ mount -t tmpfs tmpfsa a
>   $ mkdir a/b
> # here, a/b is a plain directory in upper tmpfsa which covers tmpfsb,
> # it is NOT a mountpoint.  Yet,
>   $ util-linux-mountpoint a/b
>   a/b is a mountpoint
> 
> But the traditional mountpoint utility (from sysvinit) correctly
> says it is a mountpoint.

correctly says it is NOT a mountpoint, ofcourse.  Sorry typo.

/mjt

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic