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


  
I suggest you use the dbus/hal/ivman combination...you need to edit the xml files with ivman, but its pretty simple once you get the hang of it.

P.S- ivman currently in the repos is out of date (Maintainer:"None"), so download the latest and compile it to get it working properly with dbus.

ganja_guru
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to