ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] 2.4.26-ts11 /sbin/hotplug support?
From: Kristof Provost <>
Date: Mon, 2 Mar 2009 11:20:44 +0100
On 2009-02-27 20:00:53 (-0000), naturalwatt <> wrote:
>    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
The first line should probably be '#!/bin/sh' so the kernel knows how to
run /sbin/hotplug. Also make sure it's marked as executable.

Kristof



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

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>
  • Re: [ts-7000] 2.4.26-ts11 /sbin/hotplug support?, Kristof Provost <=
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