LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-04-2011, 05:29 PM   #1
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Rep: Reputation: Disabled
How to auto mount USB drives in terminal


I would like to auto mount any USB drives plugged in in the command line/ non-x environment.

eg first usb device (/dev/sda1) mounts as /mnt/usb0, second as /mnt/usb1, etc etc.
 
Old 11-04-2011, 07:14 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,798

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
Hello,

See here - http://wiki.debian.org/AutoFs

Cheers,

Josh
 
Old 11-04-2011, 08:37 PM   #3
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
Ok.. i'm having an issue with apt-get returning
Code:
The package lists or status file could not be parsed or opened.
I'm running that as root. I'm pretty sure it will be a missing module; but how do i diagnose which one??
 
  


Reply

Tags
automount, terminal, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using OpenSuSE 11.3...how do I auto-mount my two optical drives? cbjhawks Suse/Novell 1 03-21-2011 08:21 AM
How to auto mount usb drives as a normal user basheer Slackware 3 10-24-2009 10:26 PM
USB pen drives not auto prompting or auto mounting on KDE3.5 (PCLOS) k.king Linux - General 1 03-17-2009 03:16 PM
auto mount removable drives mallyooh Slackware 6 05-09-2006 09:39 PM
using autofs to auto mount my usb drives DesertWolf0132 Slackware 8 07-30-2004 10:27 AM


All times are GMT -5. The time now is 02:36 AM.

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