LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   How to auto mount USB drives in terminal (http://www.linuxquestions.org/questions/debian-26/how-to-auto-mount-usb-drives-in-terminal-911926/)

sdfi 11-04-2011 05:29 PM

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.

corp769 11-04-2011 07:14 PM

Hello,

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

Cheers,

Josh

sdfi 11-04-2011 08:37 PM

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??


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