[LUAU] Automatic mounting of floppy and CDROM

webmaster at hawaiidakine.com webmaster at hawaiidakine.com
Thu Oct 7 19:58:45 PDT 2004


David Imai wrote:
> I am currently preparing a number of used computers for home users who are mostly beginners. Most of them are Pentium II with 128MB or less RAM and 4GB hard drives. The computers currently have Skolelinux Debian and KDE installed on them. I've been trying to get the floppy and cdrom to automatically mount whenever they are accessed, but so far I haven't been able to do it.  I've been tring to use autofs. According to one of the articles listed below it works better than amd with floppy drives. Is it necessary to recompile the kernel to get it to work? If so, is there another Linux distribution that would better fit the users requirements? 
> 
> What I've tried so far:
> 
> Added the user to the groups floppy and cdrom.
> This enables the KDE CD Player program to run, but does not enable KWord to save to floppy or open a CD file.
> 
> Found some information on autofs:
> http://www.kryogenix.org/writings/tech/autofs
> http://freespace.sourceforge.net/guidod/howto/autofs.html
> http://www.linuxgazette.com/issue42/nielsen.html
> 
> Installed autofs: "apt-get install autofs"
> I did not recompile the kernel.
> Restarted computer.
> Looked at /proc/filesystems but autofs was not listed there.
> Looked at /etc/auto.master and /etc/auto.misc. They seem OK.
> Made symbolic links to /var/autofs/misc/floppy and /var/autofs/misc/cd: ln -s /var/autofs/misc/floppy /floppy
> ln -s /var/autofs/misc/cd /cdrom
> (I'm not sure if I did this correctly).
> This still does not enable KWord to save to floppy or open a CD file.
> The commands "mount /cd" and "mount /floppy" work OK from the console.
> 
> Edited /etc/auto.misc
> Added the "user" option to the entries for cd and floppy.
> Restarted.
> This still does not enable KWord to save to floppy or open a CD file.
> 
> I haven't changed the /etc/fstab file, and I haven't recompiled the kernel.
#########

I'm not sure about Linux but ...
Under FreeBSD you can set the "noauto" to "auto" to mount under
/etc/fstab file. Try this.


Al Plant -Webmaster http://hawaiidakine.com
Supporting Open Source in computing with FreeBSD 4.9
"Failure only happens when you stop trying." - Omar Periu





More information about the LUAU mailing list