There are quite a few options: autofs, supermount, submount, hal, ... I use autofs because it's already in the kernel. All you need to install is the autofs package. Check the Wiki for advice on how to set it up.
On 4/5/06, Hussam Al-Tayeb <[EMAIL PROTECTED]> wrote: > is there anyway on archlinux to automatically unmount cdroms when I click on > the eject botton on the cdrom drive? I have to manually run konqueror> right > click > unmount before I could eject. > suse used submount to do auto unmounting. > I tried to compile the submount kernel module on archlinux but it didn't > compile. > Is there something similar for arch? > > [EMAIL PROTECTED] subfs-0.9]$ make > make -C /lib/modules/2.6.16-ARCH/build > SUBDIRS=/home/hussam/Desktop/submount-0.9/subfs-0.9 modules > make[1]: Entering directory `/usr/src/linux-2.6.16-ARCH' > CC [M] /home/hussam/Desktop/submount-0.9/subfs-0.9/subfs.o > /home/hussam/Desktop/submount-0.9/subfs-0.9/subfs.c: In > function 'subfs_lookup': > /home/hussam/Desktop/submount-0.9/subfs-0.9/subfs.c:224: error: 'struct inode' > has no member named 'i_sem' > /home/hussam/Desktop/submount-0.9/subfs-0.9/subfs.c:226: error: 'struct inode' > has no member named 'i_sem' > /home/hussam/Desktop/submount-0.9/subfs-0.9/subfs.c:231: error: 'struct inode' > has no member named 'i_sem' > make[2]: *** [/home/hussam/Desktop/submount-0.9/subfs-0.9/subfs.o] Error 1 > make[1]: *** [_module_/home/hussam/Desktop/submount-0.9/subfs-0.9] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.16-ARCH' > make: *** [default] Error 2 > > > _______________________________________________ > arch mailing list > [email protected] > http://www.archlinux.org/mailman/listinfo/arch > > > > _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
