hal/hald/linux block_class_device.c,1.80,1.81

David Zeuthen david at freedesktop.org
Mon Sep 27 09:37:49 PDT 2004


Update of /cvs/hal/hal/hald/linux
In directory gabe:/tmp/cvs-serv30713/hald/linux

Modified Files:
	block_class_device.c 
Log Message:
2004-09-27  David Zeuthen  <david at fubar.dk>

	* libhal/libhal.c (hal_shutdown): Remember to init error var

	* tools/fstab-sync.c (add_udi): Add a whitelist so if a volume stems
	from a msdos style partition table we require that type to be in the
	whitelist; initially includes various FAT formats, NTFS and Linux.
	(volume_new): Fix a bug in size computation

	* libhal-storage/libhal-storage.h: Add prototype for
	hal_volume_get_msdos_part_table_type

	* libhal-storage/libhal-storage.c:
	(hal_volume_get_msdos_part_table_type): New function

	* hald/linux/block_class_device.c (block_class_pre_process): 
	Rename x86_type to msdos_part_table_type

	* hald/haldaemon.in: Fixup URL



Index: block_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/block_class_device.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- block_class_device.c	27 Sep 2004 14:49:45 -0000	1.80
+++ block_class_device.c	27 Sep 2004 16:37:47 -0000	1.81
@@ -1279,7 +1279,7 @@
 
 
 						hal_device_property_set_int (
-							d, "volume.partition.x86_type",
+							d, "volume.partition.msdos_part_table_type",
 							p->partition_type_raw);
 						
 						/* NOTE: We trust the type from the partition table




More information about the hal-commit mailing list