On Wed, 2009-09-30 at 19:38 +0200, Hans de Goede wrote: > --- > storage/devicetree.py | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) Ack. > > diff --git a/storage/devicetree.py b/storage/devicetree.py > index 155b1c9..fe3ab0c 100644 > --- a/storage/devicetree.py > +++ b/storage/devicetree.py > @@ -1272,6 +1272,10 @@ class DeviceTree(object): > if device and device.name in self.protectedDevNames: > device.protected = True > > + # Don't try to do format handling on drives without media > + if device and not device.mediaPresent: > + return > + > # Now, if the device is a disk, see if there is a usable disklabel. > # If not, see if the user would like to create one. > # XXX this is the bit that forces disklabels on disks. Lame. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list