From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 20 Nov 2003 16:46:30 +0000 Subject: Re: udev does not create scsi disk entries during bootup Message-Id: 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, Nov 20, 2003 at 08:29:05PM +0530, Surekha.PC wrote: > > >Yes, make sure that sysfs is mounted before you start finding the iscsi > devices. > > I have automounted sysfs. The /sys/block/ shows the iSCSI device > entries. > But hotplug event is not notified by the kernel. This is the reason > why udev is not getting triggered for configuring device nodes. How do you know hotplug is not running? It will if CONFIG_HOTPLUG is enabled in your kernel. > I have few queries about the way hotplug mechanism works. > > The /etc/hotplug/scsi.agent script does not seem to handle the "ACTION" > add/remove of a scsi device ? It should. > Also the "/usr/src/linux/drivers/scsi" driver code does not have any > hotplug initialization functions, then how does it indicate > "/sbin/hotplug" program about the addition/deletion of device ? The kobject core code does this when a scsi kobject is created. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ 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