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

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

 



What if we have an optical device with a different filesystem, like a dvd
with udf ?

Regards,

Hans


On 04/21/2009 07:05 PM, Chris Lumens wrote:
---
  storage/devicetree.py |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

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