From: Brian King <brking@us.ibm.com>
To: "Mukker, Atul" <Atulm@lsil.com>
Cc: 'Patrick Mansfield' <patmans@us.ibm.com>,
'James Bottomley' <James.Bottomley@SteelEye.com>,
'Linux Kernel' <linux-kernel@vger.kernel.org>,
'SCSI Mailing List' <linux-scsi@vger.kernel.org>
Subject: Re: How to add/drop SCSI drives from within the driver?
Date: Wed, 26 Jan 2005 08:48:54 -0600 [thread overview]
Message-ID: <41F7ADD6.9050608@us.ibm.com> (raw)
In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E5705B837C3@exa-atlanta>
Newer kernels also have kobject_uevent, which lets any application use
netlink to look for hotplug events.
-Brian
Mukker, Atul wrote:
> Thanks for the suggestion. After more exploration, looks like different
> distribution have different implementations for /sbin/hotplug. This may
> aggravate the issue for applications. For now, we will stick with a wait and
> watch after bus scan :-(
>
> Will probe the linux-hotplug-devel@lists.sourceforge.net list for more
> pointers
>
> Thanks
>
> ===========================
> Atul Mukker
> Architect, Drivers and BIOS
> LSI Logic Corporation
>
>
>
>>-----Original Message-----
>>From: Patrick Mansfield [mailto:patmans@us.ibm.com]
>>Sent: Tuesday, January 25, 2005 11:52 AM
>>To: Mukker, Atul
>>Cc: 'James Bottomley'; Linux Kernel; SCSI Mailing List
>>Subject: Re: How to add/drop SCSI drives from within the driver?
>>
>>Atul -
>>
>>On Tue, Jan 25, 2005 at 11:27:36AM -0500, Mukker, Atul wrote:
>>
>>>After writing the "- - -" to the scan attribute, the management
>>>applications assume the udev has created the relevant
>>
>>entries in the
>>
>>>/dev directly and try to use the devices _immediately_ and
>>
>>fail to see
>>
>>>the devices
>>>
>>>Is there a hotplug event which would tell the management
>>
>>applications
>>
>>>that the device nodes have actually been created now and
>>
>>ready to be used?
>>
>>Read the udev man page section, the part right before
>>"FILES". Try putting a script under /etc/dev.d/default/*.dev.
>>Then you can get more specific with an /etc/dev.d/scsi/*.dev
>>script or something else.
>>
>>I just tried something simple but did not get it working.
>>
>>Try linux-hotplug-devel@lists.sourceforge.net list for help.
>>
>>-- Patrick Mansfield
>>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Brian King
eServer Storage I/O
IBM Linux Technology Center
next prev parent reply other threads:[~2005-01-26 14:48 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-25 23:37 How to add/drop SCSI drives from within the driver? Mukker, Atul
2005-01-26 14:48 ` Brian King [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-01-26 23:23 Mukker, Atul
2005-01-27 7:05 ` 'Patrick Mansfield'
2005-01-27 7:05 ` 'Patrick Mansfield'
2005-01-26 16:48 Greg KH
2005-01-26 16:48 ` Greg KH
2005-01-25 16:27 Mukker, Atul
2005-01-25 16:52 ` Patrick Mansfield
2005-01-21 22:11 Mukker, Atul
2005-01-21 23:58 ` James Bottomley
2005-01-06 14:20 Mukker, Atul
2005-01-06 14:42 ` James Bottomley
2005-01-04 17:25 Bagalkote, Sreenivas
2005-01-04 17:42 ` James Bottomley
2005-01-03 23:02 Bagalkote, Sreenivas
2005-01-03 23:40 ` James Bottomley
2004-12-16 16:51 Salyzyn, Mark
2004-12-16 16:51 ` Salyzyn, Mark
2004-12-16 14:27 Mukker, Atul
2004-12-15 19:42 Mukker, Atul
2004-12-15 20:22 ` Matt Domsch
2004-12-10 0:31 Bagalkote, Sreenivas
2004-12-09 23:37 Bagalkote, Sreenivas
2004-12-10 0:03 ` Matt Domsch
2004-12-09 17:31 Mukker, Atul
2004-12-09 18:00 ` 'Patrick Mansfield'
2004-12-09 14:11 Mukker, Atul
2004-12-09 17:04 ` Patrick Mansfield
2004-12-09 13:27 Salyzyn, Mark
2004-12-09 14:12 ` Arjan van de Ven
2004-12-08 20:49 Salyzyn, Mark
2004-12-08 20:36 Mukker, Atul
2004-12-08 23:26 ` Bryan Henderson
2004-12-08 19:25 Mukker, Atul
2004-12-08 18:42 Salyzyn, Mark
2004-12-08 18:42 ` Salyzyn, Mark
2004-12-08 20:01 ` James Bottomley
2004-12-15 7:24 ` Matt Domsch
2004-12-15 16:48 ` Matt Domsch
2004-12-15 18:55 ` James Bottomley
2004-12-15 18:49 ` James Bottomley
2004-12-15 21:30 ` Matt Domsch
2004-12-16 9:54 ` Arjan van de Ven
2004-12-16 14:41 ` Alan Cox
2004-12-08 17:56 Bagalkote, Sreenivas
2004-12-08 19:06 ` James Bottomley
2004-12-08 14:55 Mukker, Atul
2004-12-08 7:16 Bagalkote, Sreenivas
2004-12-08 14:07 ` Matt Domsch
2004-12-08 15:40 ` Matthew Wilcox
2004-12-08 20:08 ` Bryan Henderson
2004-12-08 20:14 ` Arjan van de Ven
2004-12-08 15:59 ` James Bottomley
2004-12-08 23:46 ` Brian King
2004-12-03 17:18 Bagalkote, Sreenivas
2004-12-03 15:29 Bagalkote, Sreenivas
2004-12-03 15:58 ` Jan-Benedict Glaw
2004-12-03 16:22 ` Christoph Hellwig
2004-12-03 17:11 ` Matt Domsch
2004-12-03 17:14 ` Matt Domsch
2004-12-03 2:04 Bagalkote, Sreenivas
2004-12-03 15:10 ` Brian King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41F7ADD6.9050608@us.ibm.com \
--to=brking@us.ibm.com \
--cc=Atulm@lsil.com \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=patmans@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.