Btrfs-progs: introduces '-a' option into subvolume list command
authorWang Shilong <wangsl-fnst@cn.fujistu.com>
Thu, 27 Sep 2012 17:25:00 +0000 (01:25 +0800)
committerroot <root@localhost.localdomain>
Thu, 4 Oct 2012 20:26:33 +0000 (16:26 -0400)
commit8e8e019e910f20947fea7eff5da40753639d8870
tree622bb812570502c863ad7f8fc2183d174c9f6f8d
parenta1e89891eb6af5381539d9875b85c196150171b6
Btrfs-progs: introduces '-a' option into subvolume list command

We list the subvolumes under current directory according to the input
subvolume.

However, if we still want to list all the subvolumes in the tree, we
can use '-a' option to help us.

There may be two kinds of path: absolute path , relative path .

The absolute path is beginning with "<FS_TREE>"
The relative path is under current path that you input.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
btrfs-list.c
cmds-subvolume.c
man/btrfs.8.in