Bjoern Olausson

myautomounter PDF Print E-mail
  
Friday, 09 November 2007 05:20
Cause I am lazy I wrote this litle script to automatically mount attached USB-Devices on headless machines which are at least running udev.

So how lazy am I? Regarding unneccessary logins to my server and typing some boring commands... VERY?
So this script does not simple mount the USB-Devices. If attached, it can export the device via SAMB shares and/or NFS shares. If the device is unplugged, everything is set back to the inital state. Mountpoints are removed and the smb.conf and exports are recreated. For security reasons everything is set to sync by default. This affects of course the write/read performance of the attached device. But decide on your own ;-)

The script can be found in the "Download" section.

Feel free to use it.

Please let me know about bugs and whishes.

Last Updated ( Friday, 09 November 2007 05:32 )
 

Add comment


Security code
Refresh