SlackwareThis 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.
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.
I have recently moved from MDK 9.2 to Slack 10. I have finally gotten everything working save two devices. My Maxtor onetouch USB external hard drive and a cheap little USB pen drive I got free from a vendor. The autofs setup was handled by MDK automatically so this is my first forray into it. Both drives used to automount in MDK so I know they function with Linux. My current kernel is the adaptec.s (I have an adaptec 2940U2W for my cd burner, wich I must say works far better under Slack than MDK) kernel included in the Slack 10 CD. I have read the various previous posts on the topic and here is where I am at.
First I have created an /etc/auto.master, an /etc/auto.removable, and a /etc/auto.removable2 each containing the following:
I also found the rc.autofs script for Slack 10 which basically reads from my auto.master. I then added the following to my /etc/rc.d/rc.M:
/etc/rc.d/rc.autofs start
On boot it starts autofs without error but neither usb drive is mounted. I know I am probably making a newbie mistake and just missing something minor (for instance, are sda and sdb the correct devices?)
adaptec.s doesn't have compiled-in support for USB, so you may need to load some modules, usb-core and others.
You could also try installing the kernel meant for the wrongly-deprecated ZipSlack. ZipSlack has lots of secrets, including zipslack.s that has support for both adaptec and USB! Also has support for parallel-port IDE and lots of other stuff, so your dmesg is long.
Either that or load the modules before automounter gets called.
Thanks for the quick reply.
Checked that. I can now manually mount them with these commands:
USB HDD:
mount -t vfat /dev/sda1 /mnt/removable -o
USB Key:
mount -t vfat /dev/sdb1 /mnt/removable2 -o
I have changed auto.removable and auto.removable2 to reflect these changes and ran
adaptec.s is a kernel for Adaptec SCSI controllers. Do you actually have a SCSI system? (I think you may be confusing CD-RW SCSI emulation and actual SCSI devices.)
to WMD: I have an Adaptec 2940 U2W (which is SCSI2 Ultra Wide). I have loaded the USB modules succesfully as shown by the results of the lsmod command (pertinent lines shown here):
usb-uhci 22256 0 (unused)
usbcore 59308 1 [usb-storage usb-uhci]
to gbonvehi: these drives are not always connected to my system. While I can mount and umount them manually, I know the automount system works if I can just work out the details. It would be un-Linux-User-like for me to not try to solve this problem. Who knows, maybe another newbie might read this and find that he has the same trouble and we solved it for him.
to all: thanks for putting up with me. I know the solutions is so close I can taste it.
Maybe you should take a look at /usr/doc/autofs-3.1.7/samples there you have sample configurations to use with autofs (i haven't used autofs and don't have any usb storage to test this stuff, but it should guide you).
Never give up, it's just a matter of time to solve things
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.