Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-04-2005, 05:09 AM   #1
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Rep: Reputation: 31
Automount Problems

I've got my Slackware installation almost the way I want it, but I'm a few steps away.
I used some udev rules to point my devices to precisely where I'd like them. In particular, I have devices /dev/cruzer_micro_256, /dev/jumpdrive_128, and /dev/lexar_sd_512.

So I began writing my autofs rules, following this page closely: I got this far through my udev rules.

/var/autofs/removable /etc/auto.removable --timeout=2
cruzer_micro_256 -fstype=vfat,uid=1002,gid=1002,umask=002 :/dev/cruzer_micro_256
jumpdrive_128 -fstype=vfat,uid=1002,gid=1002,umask=002 :/dev/jumpdrive_128
lexar_sd_512 -fstype=vfat,uid=1002,gid=1002,umask=002 :/dev/lexar_sd_512
The author of the above tutorial also has written a bash script /etc/hotplug/usb/usb-storage to symlink his devices where he'd like them. I'm not worried about that yet, although I'll make an attempt at that when I get the autofs working.

From what I understand, as soon as I access /var/autofs/removable, any devices that are attached should be mounted. So if my jumpdrive is plugged in, /var/autofs/removable/jumpdrive should be created. But this isn't the case. The devices themselves do work if I mount them manually, so I know there's a problem in the autofs process--can someone help?
Old 02-04-2005, 05:24 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Actually I access my devices with cd /misc/mydevice, I used auto.misc instead of your
auto.removable, so you may access your device with cd /removable/cruzer_micro_256, I don't know.

Why use auto.removable as it is auto.misc by default ?
When you install autofs package, it installs templates in /usr/doc/autofs-x.x.x/samples, so just copy
auto.master and auto.misc in /etc.


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
automount or something like that? e1000 Linux - Hardware 3 11-19-2005 01:31 AM
Problems with automount in FreeBSD auricle *BSD 4 08-08-2005 01:10 PM
Automount. How ? LinxNew Linux - General 6 05-12-2005 10:52 AM
automount cd problems Huntdawg Linux - Software 1 10-30-2003 05:26 PM
Using automount (yes or no) yapp Linux - General 6 09-17-2003 04:38 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration