linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert White <rwhite@pobox.com>
To: linux-btrfs@vger.kernel.org
Subject: Wishlist Item :: One Subvol in Multiple Places
Date: Tue, 14 Oct 2014 15:25:39 -0700	[thread overview]
Message-ID: <543DA2E3.3070503@pobox.com> (raw)

I've got no idea if this is possible given the current storage layout, 
but it would be Really Nice™ if there were a way to have a single 
subvolume exist in more than one place in hirearchy. I know this can be 
faked via mount tricks (bind or use of subvol=), but having it be a real 
thing would be preferable.

For example, if I have two or more distributions on a computer or want 
to switch between 32bit and 64bit environments frequently, but I want to 
use the same /home (which is its own subvolume anyway) it would be nice 
if the native layout could be permuted such that /__System_32/home and 
/__System_64/home were the actual same subvolume.

The mechanism, were it possible, would be something like "btrfs 
subvolume link /existing/path /new/path" (or "bind" instead of "link")

I've got no idea if the directory structure would allow for this, but if 
it would it would simplify several things (for me anyway) if the file 
system layout represented the runtime layout.

             reply	other threads:[~2014-10-14 22:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 22:25 Robert White [this message]
2014-10-15 11:30 ` Wishlist Item :: One Subvol in Multiple Places Austin S Hemmelgarn
2014-10-15 19:07   ` Robert White

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=543DA2E3.3070503@pobox.com \
    --to=rwhite@pobox.com \
    --cc=linux-btrfs@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;
as well as URLs for NNTP newsgroup(s).