Re: [PATCH 00/11 V3] add show command to the subvol sub command

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

 




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 / ?

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





--
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