public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: linux-btrfs@vger.kernel.org, Greg <greg@kroah.com>
Subject: Re: btrfs and hotplug, auto-assembly, auto-setup, ...
Date: Thu, 11 Dec 2008 08:14:51 -0500	[thread overview]
Message-ID: <1229001291.22236.23.camel@think.oraclecorp.com> (raw)
In-Reply-To: <ac3eb2510812101808p4a2d3c12n70eddee64dc87106@mail.gmail.com>

On Thu, 2008-12-11 at 03:08 +0100, Kay Sievers wrote:
[ ... ]

> I have the btrfs detection code in udev since while, to be able to
> test it, and I'm tracking the changes.
> 
> After the metadata is finalized, I will come up with a few working
> examples how we could make this information easily available, and
> possible integrate it into the tools, and we can decide what we think
> is the best.
> 
> One thing I like to check now, if I got it correctly - the volume that
> gets mounted has:
>   btrfs_super_block.fsid (the volume, may be used for mount-by-label)
>   btrfs_super_block.label (the volume, may be used for mount-by-label)

Yes

> 
> The devices the volume is assembled from, which can be several, have:
>   btrfs_super_block.dev_item.uuid (the device uuid, not used in userspace)
>   btrfs_super_block.dev_item.fsid (the volume uuid, matches
> btrfs_super_block.fsid)

Yes, that's right.  Just to confuse things a little more there's some
called a seed filesystem, so FS B can point to FS A and include all of
its devices.

But, this pointing happens inside the FS device tree and not at the
super block level.  It just points to the fs uuid, so I think your
existing setup will be sufficient.

-chris



      reply	other threads:[~2008-12-11 13:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09 18:02 btrfs and hotplug, auto-assembly, auto-setup, Kay Sievers
2008-12-11  1:30 ` Chris Mason
2008-12-11  2:08   ` Kay Sievers
2008-12-11 13:14     ` Chris Mason [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=1229001291.22236.23.camel@think.oraclecorp.com \
    --to=chris.mason@oracle.com \
    --cc=greg@kroah.com \
    --cc=kay.sievers@vrfy.org \
    --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