Re: Determining subvolumes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 26, 2012 at 08:38:54AM -0500, Gene Czarcinski wrote:
> 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?

   No. (Well, in theory the code is possible, but there's nothing I'm
aware of that will do it)

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
              --- Python is executable pseudocode; perl ---              
                        is executable line-noise.                        

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux