Messages in this thread | | | Date | Mon, 13 Oct 2008 18:13:35 +0900 | From | Tejun Heo <> | Subject | Re: [bug] latest -git boot hang |
| |
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
| |