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 
> scanning
> /proc/partions and using lbkid.

I take blkid as a more authoritative source, /proc/partitions was a
workaround to avoid scanning the whole /dev directory.

> If not, why we can use liblkid totally,since this is more simple.

Agreed, blkid by default and --all-devices as a last resort fallback.
The proc workaround can go away.

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

Reply via email to