Hi everyone,

This is my last hurdle to having a "complete?" linux system. Today I installed autofs according to BLFS-SVN - No problems. I have tested it with my system and it works great.

When I put a CD in my drive, I cannot get XMMS to see it. What I have done up to this point:

My /media file is full of symlinks as follows:
ln -s /var/run/autofs/cdrom /media/cdrom
ln -s /var/run/autofs/cdrecorder /media/cdrecorder
ln -s /var/run/autofs/LEXAR_MEDIA /media/LEXAR_MEDIA

The links appear broken (I expected this) until I plug in the usb stick (LEXAR_MEDIA) or I place a data cd in on of the drives (cdrom, cdrecorder)

I got the names for the /media links from the way HAL creates the directories. HAL does not create new directories, but instead uses the links provides and I access the autofs events through the symlinks (Linux magic I guess).

Here is what my /etc/auto.master file looks like:
# Begin /etc/auto.master
/var/run/autofs /misc/auto.misc
# End /etc/auto.master

Here is my /etc/auto.misc
# Begin /etc/auto.misc
cdrom             -fstype=iso9660,ro,nosuid,nodev :/dev/dvd
cdrecorder        -fstype=iso9660,rw,nosuid,nodev :/dev/DVDRW
LEXAR_MEDIA       -fstype=vfat,gid=floppy :/dev/sde1
# End /etc/auto.misc

I understand that iso9660 file type is not a music/media file type. What I need to know is how do I get this to work.

When I put a DVD into the drive (/dev/dvd (from udev), kernel sees /dev/hdc) and I start gmplayer, I am able to play the DVD wqith no problem. This is why I am confused.

I have read man 5 autofs, man 8 autofs and man mount. All of my google searches have come up empty. Even the archive here mentions not having to mount a audio CD, which I understand, but I could find no solution to my problem. I also could not find an answer on www.xmms.org so I am out of ideas.

I do not want to give up the functionality of autofs, unless there is another alternative (I did not research alternatives to autofs).

Any help would be greatly appreciated.

Thanks,

rblythe
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to