ts-7000
[Top] [All Lists]

[ts-7000] Re: Detecting when a usb flashdiisk is plugged.

To:
Subject: [ts-7000] Re: Detecting when a usb flashdiisk is plugged.
From: "Blair" <>
Date: Fri, 06 Nov 2009 22:02:30 -0000
I looked into general USB hotplug notification a while back. I wanted an 
interrupt generated that a user-space app could look for. Like too many things 
it's a crap shoot as to what services are available. Best case is Linux 2.6 
with the udev/inotify system. Linux 2.4 doesn't have that. Devfs/dnotify was 
replaced by udev/inotify.  That's fine and dandy if you're running full Debian. 
Dnotify under TS-Linux
doesn't work. So I ended up having to poll for the /dev entry every couple of 
seconds. Lousy solution.

It speaks to my larger annoyance w/ TS for not keeping the OS version up to 
date on all their hardware products. "Left as an exercise to the reader" always 
pissed me off.


--- In  Angel <> wrote:
>
> Hi,
> 
> Maybe something  like
> 
> if (dmesg | grep usba) {mount it}
> 
> 
> 
> 
> On Thu, 2009-11-05 at 13:29 +0100, Edmondo Porcu wrote:
> >   
> > Good morning everyone,
> > is there a way to detect in Debian when a usb flashdisk is plugged so
> > that you are not forced to loop try to mount it until you succed?
> > 
> > Thank you so much for your precious help
> > Edmondo
> > 
> > 
> > 
> >
>




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

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>
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