hal/hald/linux2/probing probe-volume.c,1.11,1.12

David Zeuthen david at freedesktop.org
Fri Jul 22 11:47:22 PDT 2005


Update of /cvs/hal/hal/hald/linux2/probing
In directory gabe:/tmp/cvs-serv6283/hald/linux2/probing

Modified Files:
	probe-volume.c 
Log Message:
2005-07-22  David Zeuthen  <davidz at redhat.com>

        * hald/linux2/probing/probe-volume.c (main): hal sets
        volume.disc.is_rewriteable for DVD+R and DVD+R DL
        wrong (TRUE). This patch (against CVS) fix this to
        volume.disc.is_rewriteable=FALSE for DVD+R/DVD+R DL. Patch from
        Danny Kukawka <danny.kukawka at web.de>.



Index: probe-volume.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-volume.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- probe-volume.c	2 Jul 2005 11:20:41 -0000	1.11
+++ probe-volume.c	22 Jul 2005 18:47:20 -0000	1.12
@@ -283,11 +283,9 @@
 				break;
 			case 0x1B: /* DVD+R */
 				libhal_device_set_property_string (ctx, udi, "volume.disc.type", "dvd_plus_r", &error);
-				libhal_device_set_property_bool (ctx, udi, "volume.disc.is_rewritable", TRUE, &error);
 				break;
 			case 0x2B: /* DVD+R Double Layer */
                           	libhal_device_set_property_string (ctx, udi, "volume.disc.type", "dvd_plus_r_dl", &error);
-				libhal_device_set_property_bool (ctx, udi, "volume.disc.is_rewritable", TRUE, &error);
 				break;
 			default: 
 				break;




More information about the hal-commit mailing list