mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Andries.Brouwer@cwi.nl
Cc: linux-kernel@vger.kernel.org
Subject: Re: mount-2.12r-ggk.tar.gz
Date: Tue, 19 Jun 2007 16:15:28 +0200	[thread overview]
Message-ID: <20070619141528.GS7226@petra.dvoda.cz> (raw)
In-Reply-To: <200706191238.l5JCcxg14300@apps.cwi.nl>

On Tue, Jun 19, 2007 at 02:38:59PM +0200, Andries.Brouwer@cwi.nl wrote:
> The present situation of util-linux and mount is not quite clear to me.
> On kernel.org under utils/util-linux nothing has happened for over a year,
> and there is also an empty utils/util-linux-ng.

 We use GIT for development, the utils/util-linux-ng is for releases.

  http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git
  http://userweb.kernel.org/~kzak/util-linux-ng/
  http://vger.kernel.org/vger-lists.html#util-linux-ng

> Anyway, Dirk Gerrits, René Gabriël and Peter Kooijmans sent me
> a patch to add support for shared subtrees to the mount from
> util-linux 2.12r, and I put up the result for ftp at
> ftp://ftp.win.tue.nl/pub/linux-local/utils/mount/mount-2.12r-ggk.tar.gz

 Hmm.. some distributions and also util-linux-ng already use Ram Pai's
 shared subtrees patch:

 http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commitdiff;h=389fbea536e4308d9475fa2a89e53e188ce8a0e3

> [By the way, this shared subtree stuff is a bit messy,
> and impossible to support correctly by mount without help
> from the kernel. So far the shared/slave/unbindable status
> of mounts is not visible in /proc/mounts or /proc/$$/mountstats.

 Unfortunately, you're right.

 We need something like /proc/PID/mounts_propagation
 (see 2nd patch in):
 http://www.mail-archive.com/util-linux-ng@vger.kernel.org/msg00136.html

> The above mount makes a feeble attempt to record these flags
> in /etc/mtab, but will fail in any nontrivial situation.]

 I don't think that mtab is a good place for this shared subtree
 stuff. The mtab needs to die.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>

  reply	other threads:[~2007-06-19 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19 12:38 mount-2.12r-ggk.tar.gz Andries.Brouwer
2007-06-19 14:15 ` Karel Zak [this message]
2007-06-19 15:28   ` mount-2.12r-ggk.tar.gz Andries Brouwer
2007-06-19 18:51     ` mount-2.12r-ggk.tar.gz Karel Zak
2007-06-19 21:08       ` mount-2.12r-ggk.tar.gz Andries Brouwer

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=20070619141528.GS7226@petra.dvoda.cz \
    --to=kzak@redhat.com \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®