hal ChangeLog,1.242,1.243 configure.in,1.30,1.31

David Zeuthen david at freedesktop.org
Mon Aug 16 11:52:59 PDT 2004


Update of /cvs/hal/hal
In directory pdx:/tmp/cvs-serv7577

Modified Files:
	ChangeLog configure.in 
Log Message:
2004-08-16  David Zeuthen  <david at fubar.dk>

	* configure.in: Add the --enable-fstab-op to specify whether we
	want to use a keyword (currently kudzu) when adding entries
	to the fstab. Default is off

	* hald/linux/block_class_device.c:
	(block_class_visit): Only return the HalDevice if the parent exists
	(detect_media): Print out debug statement when we forcibly probe
	for media
	(block_class_pre_process): Detect the ide-cs driver by looking at
	the sysfs path (!) and set the media_check_enable to FALSE.  Only
	do volume_id and drive_id probing if storage.media_check_enabled
	is TRUE. Sets the volume.fstype to 'vfat,msdos,auto' in this case.
	Fixes issues with the ide-cs driver
	(block_class_in_gdl): Add a comment about how we could defer
	the check for non-partitioned media via a timeout
	(deferred_check_for_non_partition_media): The function to check
	for media; not currently used
	(mtab_handle_storage): Use detect_media() to add the new child
	when a non-partition volume we didn't know about was mounted
	(mtab_handle_volume): Remove non partitioned media on drives
	that can't be polled when it's unmounted.
	
	* hald/linux/bus_device.c:
	(bus_device_visit): Only return the HalDevice if the parent exists

	* hald/linux/class_device.c:
	(class_device_visit): Only return the HalDevice if the parent exists
	(class_device_got_parent_device): Print out the sysfs path instead
	of the HAL UDI
	
	* hald/linux/ide_bus_device.c:
	(ide_device_accept): New function; currently the same as the super
	class but useful for testing
	
	* hald/linux/ide_host_bus_device.c:
	(ide_host_device_accept): Don't pickup toplevel ide_host objects
	cause they're not hotplugged anyway (thus no way to remove them)
	
	* tools/fstab-sync.c: 
	(volume_new): Also check if the volume.fstype is empty



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -d -r1.242 -r1.243
--- ChangeLog	15 Aug 2004 18:54:56 -0000	1.242
+++ ChangeLog	16 Aug 2004 18:52:38 -0000	1.243
@@ -1,3 +1,46 @@
+2004-08-16  David Zeuthen  <david at fubar.dk>
+
+	* configure.in: Add the --enable-fstab-op to specify whether we
+	want to use a keyword (currently kudzu) when adding entries
+	to the fstab. Default is off
+
+	* hald/linux/block_class_device.c:
+	(block_class_visit): Only return the HalDevice if the parent exists
+	(detect_media): Print out debug statement when we forcibly probe
+	for media
+	(block_class_pre_process): Detect the ide-cs driver by looking at
+	the sysfs path (!) and set the media_check_enable to FALSE.  Only
+	do volume_id and drive_id probing if storage.media_check_enabled
+	is TRUE. Sets the volume.fstype to 'vfat,msdos,auto' in this case.
+	Fixes issues with the ide-cs driver
+	(block_class_in_gdl): Add a comment about how we could defer
+	the check for non-partitioned media via a timeout
+	(deferred_check_for_non_partition_media): The function to check
+	for media; not currently used
+	(mtab_handle_storage): Use detect_media() to add the new child
+	when a non-partition volume we didn't know about was mounted
+	(mtab_handle_volume): Remove non partitioned media on drives
+	that can't be polled when it's unmounted.
+	
+	* hald/linux/bus_device.c:
+	(bus_device_visit): Only return the HalDevice if the parent exists
+
+	* hald/linux/class_device.c:
+	(class_device_visit): Only return the HalDevice if the parent exists
+	(class_device_got_parent_device): Print out the sysfs path instead
+	of the HAL UDI
+	
+	* hald/linux/ide_bus_device.c:
+	(ide_device_accept): New function; currently the same as the super
+	class but useful for testing
+	
+	* hald/linux/ide_host_bus_device.c:
+	(ide_host_device_accept): Don't pickup toplevel ide_host objects
+	cause they're not hotplugged anyway (thus no way to remove them)
+	
+	* tools/fstab-sync.c: 
+	(volume_new): Also check if the volume.fstype is empty
+
 2004-08-15  David Zeuthen  <david at fubar.dk>
 
 	Sends messages from hotplug and device naming helpers via a local

Index: configure.in
===================================================================
RCS file: /cvs/hal/hal/configure.in,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- configure.in	12 Aug 2004 17:40:14 -0000	1.30
+++ configure.in	16 Aug 2004 18:52:38 -0000	1.31
@@ -54,15 +54,20 @@
 
 
 # Taken from dbus
-AC_ARG_ENABLE(ansi,             [  --enable-ansi         enable -ansi -pedantic gcc flags],enable_ansi=$enableval,enable_ansi=no)
-AC_ARG_ENABLE(verbose-mode,     [  --enable-verbose-mode support verbose debug mode],enable_verbose_mode=$enableval,enable_verbose_mode=$USE_MAINTAINER_MODE)
-AC_ARG_ENABLE(doxygen-docs,     [  --enable-doxygen-docs     build DOXYGEN documentation (requires Doxygen)],enable_doxygen_docs=$enableval,enable_doxygen_docs=auto)
-AC_ARG_ENABLE(docbook-docs,     [  --enable-docbook-docs     build DocBook documentation (requires docbook2html)],enable_docbook_docs=$enableval,enable_docbook_docs=auto)
+AC_ARG_ENABLE(ansi,             [  --enable-ansi           enable -ansi -pedantic gcc flags],enable_ansi=$enableval,enable_ansi=no)
+AC_ARG_ENABLE(verbose-mode,     [  --enable-verbose-mode   support verbose debug mode],enable_verbose_mode=$enableval,enable_verbose_mode=$USE_MAINTAINER_MODE)
+AC_ARG_ENABLE(doxygen-docs,     [  --enable-doxygen-docs   build DOXYGEN documentation (requires Doxygen)],enable_doxygen_docs=$enableval,enable_doxygen_docs=auto)
+AC_ARG_ENABLE(docbook-docs,     [  --enable-docbook-docs   build DocBook documentation (requires docbook2html)],enable_docbook_docs=$enableval,enable_docbook_docs=auto)
 
 if test x$enable_verbose_mode = xyes; then
     AC_DEFINE(ENABLE_VERBOSE_MODE,1,[Support a verbose mode])
 fi
 
+AC_ARG_ENABLE(fstab-noop,       [  --enable-fstab-noop     Use noop option in fstab-sync],enable_fstab_noop=yes,enable_fstab_noop=no)
+if test "x$enable_fstab_noop" = "xyes" ; then
+   AC_DEFINE(USE_NOOP_MOUNT_OPTION,1,[Use an unique keyword in the fstab])
+fi
+
 #### gcc warning flags
 
 if test "x$GCC" = "xyes"; then
@@ -326,7 +331,7 @@
 dnl ==========================================================================
 echo "
                     HAL $VERSION
-                  ===========
+                  ==============
 
         prefix:                   ${prefix}
         libdir:                   ${LIBDIR}
@@ -346,7 +351,7 @@
         User for HAL:             ${HAL_USER}
         Group for HAL:            ${HAL_GROUP}
         hald pidfile:             ${HALD_PID_FILE}
-"
+	fstab-sync using noop:    ${enable_fstab_noop}"
 
 echo "
         Maintainer mode:          ${USE_MAINTAINER_MODE}




More information about the hal-commit mailing list