Re: REQ: btrfs list <subvols only> option

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

 



On Jan 8, 2014, at 6:31 PM, Alex <alex@xxxxxxxxx> wrote:

> Hello 
> 
> (Using btrfs userland 3.12)
> 
> I have my fs set up (below) I borrowed the Ubuntu scheme.
> 
> <FS_TREE>/@/
> <FS_TREE>/@/etc
> <FS_TREE>/@/var
> ..
> 
> get-default is 5 i.e. <FS_TREE>
> 
> AFAICT, perhaps I'm missing the obvious, getting the list of subvolumes only
> (no snapshots) is no longer trivial? 
> 
> # btrfs  sub list /@
> ERROR: can't access '/@'
> # btrfs  sub list /@
> ERROR: can't access '/@'
> # btrfs  sub list /@/
> ERROR: can't access '/@/'
> # btrfs  sub list @/
> ERROR: can't access '@/'
> # btrfs  sub list @
> 
> I know I'm going to be embarrassed at the answer, but go ahead bite me!

Specify the mount point for the Btrfs file system and it will list all subvols on that file system.


Chris Murphy--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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