public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frans Pop <elendil@planet.nl>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Bind mount bug?
Date: Mon, 12 Nov 2007 00:42:26 +0100	[thread overview]
Message-ID: <200711120042.26861.elendil@planet.nl> (raw)
In-Reply-To: <Pine.LNX.4.64.0711112326030.25431@fbirervta.pbzchgretzou.qr>

On Sunday 11 November 2007, Jan Engelhardt wrote:
> >This mounts the bindtest/ tree on test/ _without_ copying the mount
> >points which are found on subtrees. This is necessary to avoid loops
> >in the filesystem (bind mounts are somewhat like hardlinks on
> >directories, just without the headaches).
>
> What you seek is mount --rbind.

Thanks! That works fine with mount from util-linux-ng.

Busybox' mount (at least Debian's admittedly old 1.1.3 version) seems to 
fail to do the recursing. I'll file a BR against busybox in Debian and 
check that again when we have a more current version.

      reply	other threads:[~2007-11-11 23:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-11 10:06 Bind mount bug? Frans Pop
2007-11-11 10:22 ` Frans Pop
2007-11-11 22:00 ` Roland Kuhn
2007-11-11 22:40   ` Frans Pop
2007-11-11 22:29 ` Jan Engelhardt
2007-11-11 23:42   ` Frans Pop [this message]

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=200711120042.26861.elendil@planet.nl \
    --to=elendil@planet.nl \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rkuhn@e18.physik.tu-muenchen.de \
    /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