From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Date: Thu, 16 Dec 2004 14:41:42 +0000 Subject: Re: udev enhancements Message-Id: <41C19EA6.2090700@redhat.com> List-Id: References: <41C1551F.6060601@suse.de> In-Reply-To: <41C1551F.6060601@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hannes Reinecke wrote: > And it would also break the deadlock we're having now: > Removable IDE devices _always_ do a re-read partition on _open_. > So if we're using device_id to fetch information about a partition, we're > triggering hotplug events for each partition, which causes device_id to > re-run, which causes hotplug-events, which ... > > Not nice. And no clean way to resolve it in kernel-land, either, as most > removable IDE devices have no clean way to detect a media change. in fedora udev-048 we use in udev.rules: KERNEL="hd[a-z]*", BUS="ide", SYSFS{removable}="1", NAME{ignore_remove}="%k" this prevents the removal of the device nodes. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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