Re: [PATCH] Make sure OpticalDevices get a format set (#496298).

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

 



On Tue, 2009-04-21 at 13:05 -0400, Chris Lumens wrote:
> ---
>  storage/devicetree.py |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

I think what we need to do is find out why we did not find the iso9660
filesystem in the optical device, rather than just pretend there is
always one there. This patch changes the behavior in the general case to
fix a specific problem that only occurs in virt installs.

> 
> diff --git a/storage/devicetree.py b/storage/devicetree.py
> index 540719b..b27fde9 100644
> --- a/storage/devicetree.py
> +++ b/storage/devicetree.py
> @@ -1099,7 +1099,8 @@ class DeviceTree(object):
>          device = OpticalDevice(udev_device_get_name(info),
>                                 major=udev_device_get_major(info),
>                                 minor=udev_device_get_minor(info),
> -                               sysfsPath=udev_device_get_sysfs_path(info))
> +                               sysfsPath=udev_device_get_sysfs_path(info),
> +                               format=getFormat("iso9660"))
>          self._addDevice(device)
>          return device
>  

_______________________________________________
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