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

Notices


Reply
  Search this Thread
Old 07-27-2006, 10:37 PM   #1
jag
Member
 
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.

Thanks,
Jag
 
Old 07-27-2006, 10:42 PM   #2
crazyjimbo
Member
 
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:

Code:
/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
Nylex
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
crazyjimbo
Member
 
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration