Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-27-2006, 11:37 PM
|
#1
|
Member
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34
Rep:
|
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
|
|
|
07-27-2006, 11:42 PM
|
#2
|
Member
Registered: Mar 2006
Location: Edinburgh
Distribution: Debian Etch, Gentoo
Posts: 90
Rep:
|
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 11:45 PM.
|
|
|
07-28-2006, 04:03 AM
|
#3
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
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.
|
|
|
07-28-2006, 04:09 AM
|
#4
|
Member
Registered: Mar 2006
Location: Edinburgh
Distribution: Debian Etch, Gentoo
Posts: 90
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|