[patch] more frequent mtab checking

Joe Shaw joe at ximian.com
Fri Apr 30 11:41:55 PDT 2004


Hi,

All the changes to make the block device and udev stuff asynchronous
broke the checks on /etc/mtab to add the block.fstype and
block.mount_point properties.  This is because detection_done is called
well before the udev info about the device nodes comes in.

The attached patch changes it to be called in the
block_class_pre_process() function instead.  This means more frequent
checks on /etc/mtab, but in reality I don't think it's a big deal.

It does call into question the usefulness of detection_done, though.

Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hald-mtab-detection.patch
Type: text/x-diff
Size: 2023 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20040430/2d602812/hald-mtab-detection.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list