Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Script: Automount Flash Drives, Script: Automount Flash Drives
TBotNik
post May 25 2014, 04:01 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 25-May 14
Member No.: 18,725



All,

I need a CLI BASH script, capable of being called from a master BASH script that finds, automounts any found USB/Flash drives and returns the size of the mounted drive(s).

All help and links appreciated!

Thanks!

OMR
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 2)
michaelk
post May 26 2014, 04:16 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



The following URL has lots of ideas. What actually works may depend on the distribution/version of linux you are running. Once mounted the df command will display file system sized etc.


/superuser.com/questions/361885/how-do-i-figure-out-which-dev-is-a-usb-flash-drive
Go to the top of the page
 
+Quote Post
TBotNik
post May 31 2014, 12:08 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 25-May 14
Member No.: 18,725



All,

Got part of this working and posted at:

CODE
linuxforums.org/forum/ubuntu-linux/201498-flash-mount-bash.html#post951530


Still a few parts hardcoded that need automation for full auto functioning.

Cheers!

TBNK
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2017 - 07:21 PM