Determinig removable devices in shell scripts?
Alexander Leidinger
Alexander at Leidinger.net
Tue Sep 7 15:23:42 UTC 2010
Hi,
is there an easy way to determine in a shell script if a device
(da/ada) is removable (USB memory stick, eSATA connection)? I was
thinking more or less about something like "sysctl kern.disks".
Bye,
Alexander.
--
Pardon me, but do you know what it means to be TRULY ONE with your
BOOTH!
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-geom
mailing list