ts-7000
[Top] [All Lists]

[ts-7000] 2.4.26-ts11 /sbin/hotplug support?

To:
Subject: [ts-7000] 2.4.26-ts11 /sbin/hotplug support?
From: "naturalwatt" <>
Date: Fri, 27 Feb 2009 20:00:53 -0000
I was wondering if there's a way to take an action when a USB pen drive is 
inserted, and 
found a vague reference to /sbin/hotplug.

But it doesn't seem to work.

$ cat /proc/sys/kernel/hotplug
/sbin/hotplug

Implies it should work.

Created /sbin/hotplug containing

:
env > /tmp/hotplug

Then inserted a USB pen drive. Got all the right messages in dmesg:

WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3

$ ls-lR /dev/scst
/dev/scsi/host0/bus0/target0/lun0:
brw-------    1 root     root       8,   0 Jan  1  1970 disc
brw-------    1 root     root       8,   1 Jan  1  1970 part1


But /tmp/hotplug was not created. 

What am I missing?

Martin



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] 2.4.26-ts11 /sbin/hotplug support?, naturalwatt <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU