From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 26 Jan 2006 15:31:02 +0000 Subject: Re: Fwd: blkid descends into /dev/.udev/... and stucks. Message-Id: <20060126153102.GA20616@vrfy.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jan 26, 2006 at 05:17:07PM +0200, Hai Zaar wrote: > Message below is directly related to hotplug, but I've encountered the > described problem while playing with 2.6.15 + new udev - and it took > me decent amount of hours to find the problem. Scanning /dev is evil and blkid is usually not used in udev context, cause udev supplies the vol_id program. (On SUSE we even patch mount(8) to link against the udev provided libvolume_id instead of libblkid.) Use vol_id, it fits better on a udev system. Note, you may not need anything custom here, if you use the persistent symlinks in /dev/disk, which almost all distros have these days. And please send the blkid patch to the e2fsprogs maintainer, as it would be good to have this fixed soon. But I think it's better to ignore _any_ dot file in /dev instead of the udev directory only. Thanks, Kay ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel