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

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

 



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