Bekijk de volledige versie : How-to: Automount CD-ROM

10-08-2008, 18:28
Since the existing automounter supports only hard disks to be mounted - i needed a solution for automatically mounting cd filesystems.
So the solution is to cross compile automount and to include autofs4 & /proc support into the kernel.

If you want to try it follow these steps:

0. download these files: http://www.moszi.net/dev/automount/automount.tar.gz

1. insmod autofs4.o
2. ln -s /proc/mounts /etc/mtab (this will only work if you recompiled your kernel with /proc support)
3. copy the necessary files to their places
4. edit your /opt/etc/auto.misc file
5. start /opt/etc/init/S97autofs

Enjoy ;)