usbmount: automatically mount and unmount USB mass storage devices
Hello,
I have have written and packaged a script which automatically mounts USB
mass storage devices when they are plugged in, and unmounts them when
they are removed. It is primarily intended for use with USM memory pens.
The package depends on udev and does not assume that the device always
gets the same device node. Please see below for package details.
Would anybody be willing to have a look at my package and/or tell me if
you consider this a good or bad idea in general?
The source package can be downloaded from here:
http://www.zero-based.org/debian/packages/usbmount_0.0.1.dsc
http://www.zero-based.org/debian/packages/usbmount_0.0.1.tar.gz
or by "apt-get source usbmount" with the following sources.list line:
deb-src http://www.zero-based.org/debian packages/source/
Thanks in advance!
Martin
Package details:
Name: usbmount
Homepage: http://www.zero-based.org/debian/usbmount.html
License:
This package is free software; the copyright holder gives unlimited
permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY, to the extent permitted by law; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Description: Automatically mount and unmount USB mass storage devices
This package automatically mounts USB mass storage devices
(typically USB pens) when they are plugged in, and unmounts them
when they are removed. The mountpoints (/media/usb[0-7] by default),
filesystem types to consider, and mount options are configurable.
When multiple devices are plugged in, the first available mountpoint
is automatically selected.
.
The script that does the (un)mounting is called by the udev daemon.
--
,--. ,= ,-_-. =.
/ ,- ) Martin Dickopp, Dresden, Germany ((_/)o o(\_))
\ `-' http://www.zero-based.org/ `-'(. .)`-'
`-. \_/
Reply to: