On Jan 8, 2014, at 6:31 PM, Alex <a...@bpmit.com> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html