Register a domain and help support LQ
Go Back > Blogs
User Name


OK I don't really have a good title yet but I figure I can post works in progress and other tips I've come across or other interesting things.

USB drive auto mounter script!

Posted 12-01-2008 at 12:35 AM by lumak (Lumak's Guide to Random Things)

Yes that's right! I kid you not! A marvelous bash script to automatically mount a usb flash drive (or at least set it up to mount it by users) it is commented and should be 'easy' to follow. There are probably better ways to do this, but at the time I didn't want to install anything (e.g. pmount) and I didn't feel like using autofs.

what does the script do if it doesn't automatically mount the drive?
- It determines an appropriate mount name from the file system label or...
Views 3210 Comments 0 lumak is offline


All times are GMT -5. The time now is 01:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration