Re: please document alternate "bind" syntax in mount(8)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 07, 2014 at 11:52:48AM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Forwarded from debian bug #409942:
> 
> At the moment, neither mount(8) nor fstab(5) tells us how to do bind
> mounts with fstab, or even that it's possible.  We have to *guess* that
> doing this in fstab works:
> /some/old/dir   /some/new/mountpoint   ???   bind   ???   ???
> and it's not clear what is or isn't permitted for ???.

I see section "The bind mounts." in the man mount page where is
fstab example.

> Isn't it also time to update the SYNOPSIS in mount(8), now that linux
> versions >=2.4.0 will be standard ?  I suggest adding two lines
> like this:
>          mount { --bind | -o bind } olddir newdir
>          mount { --rbind | -o rbind } olddir newdir
> or, possibly, just one line
>          mount { --bind | --rbind | -o bind | -o rbind } olddir newdir

 IMHO all is well described in the man page now.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux