Commit fdc99f2a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

udev: use dvd:// rather than file:// for DVD device nodes

parent 26c05d8b
...@@ -545,7 +545,7 @@ static char *disc_get_mrl (struct udev_device *dev) ...@@ -545,7 +545,7 @@ static char *disc_get_mrl (struct udev_device *dev)
scheme = "cdda"; /* Audio CD rather than file system */ scheme = "cdda"; /* Audio CD rather than file system */
val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_DVD"); val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_DVD");
if (val && atoi (val)) if (val && atoi (val))
scheme = "file"; scheme = "dvd";
val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_BD"); val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_BD");
if (val && atoi (val)) if (val && atoi (val))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment