Re: [bug] latest -git boot hang

From: Tejun Heo
Date: Mon Oct 13 2008 - 05:16:40 EST


H. Peter Anvin wrote:
> Tejun Heo wrote:
>>
>> Yeap, if fedora didn't work, I think it should be hidden. Do we already
>> have place to hide things like this?
>>
>
> By the way, I don't see anything in this patchset that lets userspace
> discover the parent device. Since the old rule of
>
> partition device = parent device + partition number
>
> ... no longer holds, this is a serious omission for something that is in
> mainstream (and therefore *requires* that a new interface is deployed
> for anything that cares.)
>
> This will have to be addressed before 2.6.28 final.

The sysfs directory for the parent can be reached by "cd -P
/sys/class/block/PART/..". That should be enough, right? I'll add
the partition attribute but I don't really think we need to do
anything to improve parent discovery.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/