All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: util-linux@vger.kernel.org
Subject: Re: please document alternate "bind" syntax in mount(8)
Date: Mon, 17 Feb 2014 12:58:29 +0100	[thread overview]
Message-ID: <20140217115829.GD2254@x2.net.home> (raw)
In-Reply-To: <52F50F60.3010103@ubuntu.com>

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@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2014-02-17 11:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 16:52 please document alternate "bind" syntax in mount(8) Phillip Susi
2014-02-17 11:58 ` Karel Zak [this message]
2014-02-17 14:45   ` Phillip Susi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140217115829.GD2254@x2.net.home \
    --to=kzak@redhat.com \
    --cc=psusi@ubuntu.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.