automounting cdroms and usb sticks
hi, ive had this problem for a long time now and haven't been able to find a solution myself.
basicaly, i dont use gnome or kde, i use xfce on gentoo. im looking for a way to automount removable media without requiring some gui specific tool. id like to be able to just be in a basic terminal and still have the system automount removable media.
id like to try and have ot also create and deleta the mount point files they use for instance, i blug in a usb stick, it creates the file /media/usb-storage01 and mounts it there. when i unplug it it removes the file correctly.
same so for cdroms, creates /media/cdrom01 and when i press the cd drive button(assuming its not being used) it unmounts, removes the directory and then ejects it.
so far ive tried ivman(some small program that surfaced right after the big udev switch) but its ridiculous to configure and i couldn't even get it to run right. ive read you can make udev rules to do it too, that seems almost as difficult but proboboly doable.
anyone that seems to get this working doesn't seem to do it all the way, like they get one specific usb stick to mount at a pre-made location, or they get somehting like an ipod to mount. seeing as how you can have a wide range of usb sticks and memory cards mounted, id kinda like it to be expandable such that it doesnt leave a bunch of unused directories laying around when its done.