Visit Jeremy's Blog.
Go Back > Blogs
User Name



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 3213 Comments 0 lumak is offline


All times are GMT -5. The time now is 02:49 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