Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-27-2006, 10:37 PM   #1
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
auto mount usb drive

Hi guys,

Is there any way to auto mount usb drive on slackware? I'm using version 10.2, my current Window manager is KDE. I know how to mount it manually but it would be nice if there is an easier way.

Old 07-27-2006, 10:42 PM   #2
Registered: Mar 2006
Location: Edinburgh
Distribution: Debian Etch, Gentoo
Posts: 90

Rep: Reputation: 16
Add an entry to /etc/fstab. If you look at the file, you should get an idea of how it works, or look at man fstab.

Edit: I decided to be nice and give you an example. Add a line similar to this to the fstab:

/dev/sda1    /media/usbdisk    vfat   user, noauto     0    0

Last edited by crazyjimbo; 07-27-2006 at 10:45 PM.
Old 07-28-2006, 03:03 AM   #3
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It should be "auto", rather than "noauto" if you want automatic mounting. Note that this will mount on boot only, not when you plug a device in.
Old 07-28-2006, 03:09 AM   #4
Registered: Mar 2006
Location: Edinburgh
Distribution: Debian Etch, Gentoo
Posts: 90

Rep: Reputation: 16
Yea, Nylex is correct, my setup was what I use for my hard drive but it's not normally present at boot as it tends to get moved around a lot. However, whenever I plug it in, it always automounts. Maybe that is a Debian perk?

So yea, use auto to mount it at boot.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I auto-mount a drive at boot warkrime Linux - Newbie 7 08-03-2013 04:56 AM
SuSE 9.3 USB Flash Drive Auto Mount Stopped Working nuro305 Linux - Hardware 11 04-15-2007 05:21 AM
Auto Mount a Network Drive thebutler4 Linux - Newbie 3 06-23-2004 09:56 PM
Auto-mount a network drive agarnier Linux - Networking 4 10-29-2003 07:09 AM
auto mount of novell drive saavik Linux - Networking 7 08-07-2003 03:12 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:11 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
Open Source Consulting | Domain Registration