From: Andreas Jellinghaus Date: Tue, 22 Jun 2004 13:42:58 +0000 Subject: waiting needed for udev? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I wonder: is it necessary to wait for the kernel to do the hotplugging / device creation via udev? example: a machine has blank disks, no partition. so udevstart will only create /dev/hda now that machine is installed via script, with (echo ... ; echo ... ; echo ... ) | sfdisk /dev/hda mkfs.ext3 /dev/hda3 sfdisk creates the partition and makes th kernel reread the partition table. that should triggger hotplugging for the new partition devices. will the kernel block sfdisk till the hotplug events are generated and udev has finished? or is there a risk of mkfs claiming "no such file or device" because the hotplug/udev created /dev/hda3 a few microseconds too late? thanks for your help. Regards, Andreas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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