From: Gene Czarcinski <gene@czarc.net>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Determining subvolumes
Date: Wed, 26 Dec 2012 08:38:54 -0500 [thread overview]
Message-ID: <50DAFDEE.3030204@czarc.net> (raw)
I know that I can find out what btrfs "volumes" are on a system with the
command:
btrfs fi show
I can also check if a partition of disk is a btrfs volume with the command:
blkid -o value -s TYPE /dev/<disk|partition>
And, if I mount that btrfs volume with something like:
mount -t btrfs /dev/<btrfs> /mnt/btrfs
The, I can get a list of btrfs subvolumes on that volume with the command:
btrfs subvolume list /mnt/btrfs
My question: Is there a way of finding out what subvolumes are defined
on a btrfs volume without mounting the volume?
Gene
next reply other threads:[~2012-12-26 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 13:38 Gene Czarcinski [this message]
2012-12-26 13:55 ` Determining subvolumes Hugo Mills
2013-01-03 16:12 ` David Sterba
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=50DAFDEE.3030204@czarc.net \
--to=gene@czarc.net \
--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