http://bugzilla.novell.com/show_bug.cgi?id=557565 http://bugzilla.novell.com/show_bug.cgi?id=557565#c7 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |kasievers@novell.com Info Provider|hvogel@novell.com |kasievers@novell.com AssignedTo|kernel-maintainers@forge.pr |jeffm@novell.com |ovo.novell.com | --- Comment #7 from Jeff Mahoney <jeffm@novell.com> 2009-12-17 21:50:00 UTC --- The difference is that blkid uses a cache and mount -t auto doesn't. It uses the cache if you're trying to find a device by UUID or label, since it avoids scanning all the devices. The code is actually there to use the cache for looking up information by devname, but it's disabled. My guess is that the reason for doing so is that the cache doesn't do any real verification. It times out after 200 seconds, but the only other method it uses to see if the information is valid is if the timestamp on the device file has changed. A media change event doesn't cause the timestamp to be updated. Kay, what do you think about having udev touch the device file when there's a media change event? It would cause the cache to expire immediately so there wouldn't be a race there. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.