You are not logged in.
Pages: 1
I was trying to get my usb external drive to automount so I installed and configured autofs according to the instructions on the wiki.
However, since autofs was configured to use /media and all my other devices were in /mnt, I configured autofs to use /mnt as well. Autofs wiped out all the directories in /mnt and inserted cdrom and usbstick directories. I uninstalled autofs and automounting is working fine now on my usbdisk ( I needed to add myself to the storage group and start hal and dbus ). However, my cdrom won't automount. If I mount it manually, I can view the contents in konquer by going to /mnt/cdrom but it won't show up under the media:/ (the storage media list).
In addition, I can't remove the /mnt/cdrom and /mnt/usbdisk directories. I'm not sure if that means anything.
[root@l33t1 mnt]# ls -al
total 4
drwxr-xr-x 4 root root 0 2007-04-28 10:29 .
drwxr-xr-x 19 root root 4096 2007-04-27 00:56 ..
drwxr-x--x 2 root root 0 2007-04-28 10:29 cdrom
drwxr-x--x 2 root root 0 2007-04-28 10:29 usbstick
[root@l33t1 mnt]# ls -R
.:
cdrom usbstick
ls: cannot open directory ./cdrom: No such file or directory
ls: cannot open directory ./usbstick: No such file or directory
[root@l33t1 mnt]# rm -frv *
[root@l33t1 mnt]# ls
cdrom usbstick
[root@l33t1 mnt]# rm -frv cdrom/
[root@l33t1 mnt]# ls
cdrom usbstick
Here is my /etc/fstab file:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/fd0 /mnt/fd0 vfat user,noauto 0 0
/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext3 defaults 0 1
/dev/sda3 /home ext3 defaults 0 1
and my mtab file (when my cdrom is mounted):
/dev/sda2 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda3 /home ext3 rw 0 0
automount(pid10235) /mnt autofs rw,fd=4,pgrp=10235,minproto=2,maxproto=4 0 0
/dev/sr0 /mnt/cdrom iso9660 ro,noexec,nosuid,nodev,unhide 0 0
Last edited by linuxlefty (2007-04-29 20:50:27)
My Website: www.LinuxLefty.com
Offline
After a couple of reboots, it seemed to fix itself (*yay*)
My Website: www.LinuxLefty.com
Offline
Pages: 1