Re: [PATCH] btrfs-progs: create helper function to use lblkid to scan for btrfs disks

2013-10-07 Thread Anand Jain
Following this patch the idea is to use lblkid to scan for the btrfs disks by default which means we don't use BTRFS_SCAN_PROC any more. Firstly, i would like to know if we will get any different results between scanning /proc/partions and using lbkid. I take blkid as a more authoritative

Re: [PATCH] btrfs-progs: create helper function to use lblkid to scan for btrfs disks

2013-10-01 Thread David Sterba
On Sat, Sep 28, 2013 at 12:21:51AM +0800, Wang Shilong wrote: > > Following this patch the idea is to use lblkid to scan > > for the btrfs disks by default which means we don't > > use BTRFS_SCAN_PROC any more. > > Firstly, i would like to know if we will get any different results between > scann

Re: [PATCH] btrfs-progs: create helper function to use lblkid to scan for btrfs disks

2013-09-27 Thread Wang Shilong
Helo Anand, > > > Following this patch the idea is to use lblkid to scan > for the btrfs disks by default which means we don't > use BTRFS_SCAN_PROC any more. Firstly, i would like to know if we will get any different results between scanning /proc/partions and using lbkid. If not, why we can

Re: [PATCH] btrfs-progs: create helper function to use lblkid to scan for btrfs disks

2013-09-27 Thread Anand Jain
Following this patch the idea is to use lblkid to scan for the btrfs disks by default which means we don't use BTRFS_SCAN_PROC any more. which implies commands btrfs filesystem show and btrfs device scan will use lblkid to scan disks instead of current /proc/partitions by default. So now