Re: [PATCH] No longer use HAL in list-harddrives.

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

 



On Friday, August 14 2009, Chris Lumens said:
> > On Monday, August 03 2009, Chris Lumens said:
> > > +    for dev in filter(lambda d: d.type <= parted.DEVICE_SX8, parted.getAllDevices()):
> > 
> > This line feels a little bit fragile -- what happens when parted adds a
> > new device type?
> 
> We're screwed.
> 
> The reason for this lame hack is that parted.DEVICE_DM is not compiled
> in, and yet some devices are still reporting the constant.  It was
> either the above or hardcode the value of DEVICE_DM.

Maybe we should fix parted then :-)

Or maybe we could kludge something with our udev code.  I'll look a
little closer when I'm through my millions and millions of emails

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux