linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: hotpluggable ide cd-rom drive?
Date: Tue, 18 Mar 2003 17:56:16 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-104801099230331@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-104790612323451@msgid-missing>

On Tue, Mar 18, 2003 at 07:17:33AM -0600, Kari Karhi wrote:
> Hi,
> so let me try to summarize for my own understanding.  Comments are welcome.
> 
> 1. The mechanism used to probe the hardware for new devices during boot can
> not be used later during normal operation of the os.  This prevents linux
> from running the ide-probe again and updating the device maps.  Therefore
> there can be no user level commands one could run after plugging in a
> hot-pluggable device, that would find the device and add it to the device
> maps.

Not necessarily true.  I think that the ide code does not support this
kind of behavior right now, this is not held back by the rest of the
kernel.  See the many queries about hotplug ide drives in the
linux-kernel mailing list archives for a better answer to this.

> 2. The hot-plug mechanism is specific to the system hardware and is not
> standardised.  This prevents linux from finding out that new hardware has
> been added, and automagically adding the hot-plugged devices.

Not true.  The hotplug mechanism is specific to the individual bus
types, but from a user's point of view, the mechanism is standardized to
always interact through the same interface (/sbin/hotplug).

> 3. It is not possible to guess the device map and to build it from some
> static file at boot time (e.g. boot hdc=hotplug fd0=hotplug).  This would
> allow the device to always be there, but if you try to access it before it
> is plugged in, you would get failures and time-outs.

That is a ide specific question, I do not know.  But the current kernel
code does not support such a "hcd=hotplug" mechanism, yes.

> So none of the above mechanisms would work?

They could, if someone implemented them :)

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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

  parent reply	other threads:[~2003-03-18 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-17 12:56 hotpluggable ide cd-rom drive? Kari Karhi
2003-03-17 17:50 ` Greg KH
2003-03-17 19:05 ` Oliver Neukum
2003-03-17 19:09 ` Greg KH
2003-03-17 20:44 ` Oliver Neukum
2003-03-18 13:17 ` Kari Karhi
2003-03-18 17:56 ` Greg KH [this message]
2003-03-19 10:30 ` Paul Hedderly
2003-03-19 10:47 ` Paul Hedderly

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=marc-linux-hotplug-104801099230331@msgid-missing \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).