--- In "marcolamonato" <> wrote:
> the question today is how and when to check the system for a new usb
> key installed that needs to be mounted or an unplugged one that has to
> be unmounted.
>
> My system is a normal TS-7250, with nothing customized on it, just the
> way it comes from TS.
If you make a few minor changes to your system you won't need to manually
mount/unmount a USB key.
Modify the system routines so it runs /usr/bin/loadUSBModules.sh on startup
(or run the shell script from a command line as needed). Add the following
line to /etc/fstab:
/dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb ext2
[NOTE: Change the filesystem type in the above line as appropriate for the
filesystem you use on your USB key.]
The TS-7250 will now automatically mount/unmount USB memory keys.
To check if a memory key is available, look for the existance of
/dev/scsi/host0/bus0/target0/lun0/part1
The above assumes your TS-7250 is running a stock 2.4 Linux kernel.
--
Cheers!
Kevin.
http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
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/
|