On 10/19/2012 10:37 AM, Rory Campbell-Lange wrote:
From my perspective as a user I would be grateful if the following changes in
syntax for listing subvolumes could be considered:
In addition to
btrfs subvolume list [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>
btrfs su list [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>
List subvolumes (and snapshots)
(and Anand's patch to allow <path>/<subpath>)
I believe the following shortcuts may be useful
btrfs subvolumes [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>[</subpath>]
btrfs sl [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>[</subpath>]
Although from a technical perspective 'subvolume list' may be logical, listing
subvolumes (plural) seems like a different sort of operation to those relating
to a subvolume (singular) for create/alter/show/delete/snapshot operations.
+1 to this proposal (FWIW) - thanks for making the user interface more
intuitive :)
--
Lenz Grimmer [off-list ref] - http://www.lenzg.net/