All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mika Penttilä" <mika.penttila@kolumbus.fi>
To: linux-hotplug@vger.kernel.org
Subject: Re: usb-storage
Date: Wed, 10 Mar 2004 05:06:53 +0000	[thread overview]
Message-ID: <404EA26D.70108@kolumbus.fi> (raw)
In-Reply-To: <404DFA8B.6080608@libero.it>



Greg KH wrote:

>On Tue, Mar 09, 2004 at 06:10:35PM +0100, Luca T. wrote:
>  
>
>>Hello,
>>i would like to understand how hotplugging works, i did some experiments 
>>but without success.
>>If i did understand well, when i connect an usb-disk the script 
>>/etc/hotplug/usb/usb-storage should be fired... but this doesn't seem to 
>>happen.
>>    
>>
>
>What kernel are you using?
>
>  
>
>>I put a line inside it ( echo "test" >/tmp/test ) but the file is never 
>>created when i plug or unplug my usb-disk.
>>Why?
>>    
>>
>
>On 2.4 that script would only be run when the driver is first loaded.
>When the device is removed, the driver is never unloaded.
>
>thanks,
>
>greg k-h
>  
>
At least with recent hotplug packages user mode drivers are loaded even 
if kernel module is loaded or not, in 2.4 and 2.6.

--Mika




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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:[~2004-03-10  5:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-09 17:10 usb-storage Luca T.
2004-03-09 17:21 ` usb-storage Sabharwal, Atul
2004-03-09 19:09 ` usb-storage Luca T.
2004-03-09 19:46 ` usb-storage Greg KH
2004-03-09 22:12 ` usb-storage Luca T.
2004-03-09 22:40 ` usb-storage Greg KH
2004-03-09 22:49 ` usb-storage Luca T.
2004-03-09 22:59 ` usb-storage Greg KH
2004-03-10  5:06 ` Mika Penttilä [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-02 16:59 usb-storage Thorsten Alge
2004-02-03  6:41 ` usb-storage pa3gcu

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=404EA26D.70108@kolumbus.fi \
    --to=mika.penttila@kolumbus.fi \
    --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 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.