Re: disk Partition label changes and reflecting them in /dev/disks-by-label/

From: Mark Lord
Date: Sun Jul 19 2009 - 14:19:28 EST


Alan Jenkins wrote:

The latest version of udev listens for inotify events on block
devices. When a utility writes to the block device (or rather, when
it closes it after opening it for writing), Udev will synthesize a
"change" event. The standard udev rules will re-check the device, and
update the links under /dev/disk to reflect changes in labels etc.
..

Yes, it seems to catch LABEL changes just fine.

On a related note:
But not UUID changes for some reason (?).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/