Package: mount
Version: 2.12r-16
Severity: normal
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 ???.
Please consider amending mount(8) so the options listed under -o include
something like this:
bind same as --bind (other mount options are silently ignored)
[...]
rbind same as --rbind (other mount options are silently ignored)
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
Thanks for your work.
-- System Information:
Debian Release: 4.0
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]