Hi Anand On 01/15/2013 09:05 AM, Anand Jain wrote: > > Goffredo, > > Thanks for the review. > >> I expected also from test1 and test2 something. > > actually it is working as intended. which is > to show more info of any item under btrfs su list output, > and root itself won't be in the btrfs su list (unless > -a option is used), otherwise any suggestion what > is good to have for btrfs su show / ?
If I understood correctly, btrfs su show is capable to lists the subvolume snapshots. It could be useful to list the snapshot of the root subvolume. > > Anand > > On 01/15/2013 02:25 AM, Goffredo Baroncelli wrote: >> On 01/14/2013 05:04 AM, Anand Jain wrote: >>> >>> >>> Any comments on this new sub-command, please. ? >>> >>> Thanks, Anand >>> >> I am trying to use this new command. Very nice. However I tried to use >> it against the root of filesystem, without success: >> >> The root of filesystem is under /var/btrfs; I used a subvolume as root: >> >> $ cat /proc/self/mountinfo | grep sdc3 >> 19 1 0:15 /__active / rw,noatime,nodiratime - btrfs /dev/sdc3 >> rw,space_cache >> 25 19 0:15 / /var/btrfs rw,noatime,nodiratime - btrfs /dev/sdc3 >> rw,space_cache >> >> >> If I do: >> >> $ #test 1 >> $ sudo ./btrfs su show / >> >> I got nothing >> >> If I do >> >> $ #test 2 >> $ sudo ./btrfs su show /var/btrfs/ >> >> still, I got nothing >> >> $ #test 3 >> $ sudo ./btrfs su show /var/btrfs/__active >> >> I, finally, got: >> >> /var/btrfs/__active >> uuid: 835c96b8-c066-554b-9230-1c531e831ff6 >> Parent uuid: - >> Creation time: - >> Object ID: 256 >> Generation (Gen): 75774 >> Gen at creation: 0 >> Parent: 5 >> Top Level: 5 >> Snapshot(s): >> >> >> I expected also from test1 and test2 something. >> >> BR >> G.Baroncelli >> >> >> >> >> > -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it> Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- 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