hal ChangeLog,1.701,1.702

Kay Sievers kay at freedesktop.org
Thu Dec 8 11:03:04 PST 2005


Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv3879

Modified Files:
	ChangeLog 
Log Message:
2005-12-08  Kay Sievers  <kay.sievers at vrfy.org>

        Kernel 2.6.15 will have a poll()'able /proc/mounts file, which
        tells us about mount tree changes. Kernel 2.6.16 will no longer
        have any netlink event regarding block devices mount/claim.
        We watch only /proc/mounts from now, remove all netlink listening
        and depend on kernel version 2.6.15.

        With every mount event, we update all known devices now, to the
        current state found in /proc/mounts. The device name in /proc/mounts
        is ignored, but the dev_t of the underlying block device is
        looked up to find the hal device. That way, /dev/root and rootdev
        will also be recognized and the current mount state becomes visible.

        * hald/linux2/blockdev.c: (blockdev_refresh_mount_state),
        (add_blockdev_probing_helper_done):
        * hald/linux2/blockdev.h:
        * hald/linux2/classdev.c:
        * hald/linux2/osspec.c: (hald_helper_data),
        (mount_tree_changed_event), (osspec_init):



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.701
retrieving revision 1.702
diff -u -d -r1.701 -r1.702
--- ChangeLog	5 Dec 2005 19:45:33 -0000	1.701
+++ ChangeLog	8 Dec 2005 19:03:02 -0000	1.702
@@ -1,3 +1,24 @@
+2005-12-08  Kay Sievers  <kay.sievers at vrfy.org>
+
+	Kernel 2.6.15 will have a poll()'able /proc/mounts file, which
+	tells us about mount tree changes. Kernel 2.6.16 will no longer
+	have any netlink event regarding block devices mount/claim.
+	We watch only /proc/mounts from now, remove all netlink listening
+	and depend on kernel version 2.6.15.
+
+	With every mount event, we update all known devices now, to the
+	current state found in /proc/mounts. The device name in /proc/mounts
+	is ignored, but the dev_t of the underlying block device is
+	looked up to find the hal device. That way, /dev/root and rootdev
+	will also be recognized and the current mount state becomes visible.
+
+	* hald/linux2/blockdev.c: (blockdev_refresh_mount_state),
+	(add_blockdev_probing_helper_done):
+	* hald/linux2/blockdev.h:
+	* hald/linux2/classdev.c:
+	* hald/linux2/osspec.c: (hald_helper_data),
+	(mount_tree_changed_event), (osspec_init):
+
 2005-12-05  Richard Hughes <richard at hughsie.com>
 
 	* hald/linux2/osspec.c (set_suspend_hibernate_keys):




More information about the hal-commit mailing list