Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Determining subvolumes
@ 2012-12-26 13:38 Gene Czarcinski
  2012-12-26 13:55 ` Hugo Mills
  0 siblings, 1 reply; 3+ messages in thread
From: Gene Czarcinski @ 2012-12-26 13:38 UTC (permalink / raw)
  To: linux-btrfs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-03 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-26 13:38 Determining subvolumes Gene Czarcinski
2012-12-26 13:55 ` Hugo Mills
2013-01-03 16:12   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox