mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: GNU/Dizzy <dizzy@roedu.net>, linux-kernel@vger.kernel.org
Subject: Re: [RFC] Filesystem with multiple mount-points
Date: Sun, 2 May 2004 17:28:42 +0100	[thread overview]
Message-ID: <20040502162842.GX17014@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0405021806460.1477-100000@poirot.grange>

On Sun, May 02, 2004 at 06:18:20PM +0200, Guennadi Liakhovetski wrote:
> See "not nice" above. With the proposed option I would like to avoid
> having one file appear at multiple paths. IOW each file would appear in no
> more than 1 place in the tree.

<shrug>

mount <whatever> /tmp/blah
mount --bind /tmp/blah/relative_path /desired_mountpoint
umount -l /tmp/blah

and you've got an exact equivalent of your "mount a subtree".

  reply	other threads:[~2004-05-02 16:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-02 13:24 Guennadi Liakhovetski
2004-05-02 14:14 ` GNU/Dizzy
2004-05-02 16:04   ` Sean Neakums
2004-05-02 17:05     ` Herbert Poetzl
2004-05-02 16:18   ` Guennadi Liakhovetski
2004-05-02 16:28     ` viro [this message]
2004-05-02 17:58       ` Guennadi Liakhovetski
2004-05-02 22:10         ` Denis Vlasenko
2004-05-04  1:35           ` Frank v Waveren
2004-05-02 19:53 ` Denis Vlasenko

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=20040502162842.GX17014@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=dizzy@roedu.net \
    --cc=g.liakhovetski@gmx.de \
    --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®