> -----Original Message-----
Ahhh, another interesting tool, thanks. But I actually
need to work out the device name for a disk plugged into
a particular USB port. I need to keep different backup sets
on separate USB drives and track which is which.
So, I've got some USB cables permanently plugged into
the server labelled (say):
disk_1 (to be used for backup set_1)
disk_2 (to be used for backup set_2)
etc..
So, I when the backup script runs to backup (say) set_1,
I need to figure out the disk device name (eg sd0, sd1 etc),
that is currently connected to the cable labelled "disk_1".
I can then mount the USB disk partition, dump the files and
unmount it. As the disks are replaced daily (and moved
off-site), the device names will be a moving target.
I can do this now using usbdevs and dmesg output but it's
a bit messy and relies on a circular logging buffer (dmesg).
This is no biggy, I'm reasonably happy with the script I've
got, I'm just wondering if I've missed another method to
do this that's simple and possibly obvious to everyone
else :-)
| Ingo Molnar | [bug] block subsystem related crash with latest -git |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Adrian Bunk | Re: net/ipv4/fib_trie.c - compile error (Re: 2.6.23-rc3-mm1) |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
