[Ocfs2-tools-devel] [RFC] changing default block device detection
method and more
Sunil Mushran
Sunil.Mushran at oracle.com
Tue Nov 20 11:48:59 PST 2007
I have no issues starting with /dev. I guess it could be a bit
easier than /proc/devices but not by much. Either way, this issue
needs to be addressed.
Fabio Massimo Di Nitto wrote:
> Sunil Mushran wrote:
>
>> Apart from what you've pointed out, we have also to deal with multipath
>> and lvm.
>>
>
> scanning /dev will catch all of those automatically without special tricks.
>
>
>> Have you looked into lib/filters/filter.c in LVM2. That starts
>> scanning from /proc/devices.
>>
>
> No. I am avoiding any interaction with /proc as many subsystems are moving
> towards /sys and they won't keep /proc interface compat forever. Basically I
> don't want to end up rewriting this code any time soon :)
>
>
>> blkid was added before upstream picked up the changes. We have no intention
>> of making our lives harder. ;)
>>
>
> Can we than kill it from the tree if it's barely required?
>
> Fabio
>
>
More information about the Ocfs2-tools-devel
mailing list