You are not logged in.
Pages: 1
I think if I have to manually mount/unmount a cd every time I use one, I'm going to be very bothered. Is there a remotely easy way to make my cdrw/dvd drives mount and unmount automatically? Thanks in advance.
Offline
i hope this will help you a lil, for more information maybe some of the devs can explain you more.
Offline
Thanks, but alas, recompiling the kernel is probably worse to me than manually dealing with cds, especially since I like to upgrade to the newest kernel version whenever one comes out.
Why isn't this part of the kernel by default, anyway? Am I missing something important?
Offline
I think I read somewhere that supermount causes incompatibilities with some stuff...although I may of just made that up. hmmmm *ponders*
Offline
I'm not a developer but still reply ;-) ...
Supermount is a kernel patch. AL however, just provides *some* kernel, and packaged with the distribution you will get the vanilla kernel. You are free to install whatever kernel you like (as long as you have devfs at least). You can even go to kernel.org and download from there, circumventing pacman.
As an alternative to supermount, you can try autofs which is included in extra. It mounts all kinds of devices and filesystems when you use the mountpoints and umounts them after some idle time. Not quite as convenient as supermount but almost. Don't be confused when reading the documentation. It usually is used for NFS mounts, but it can also handle local media. See http://tldp.org/HOWTO/Automount.html
Offline
You have to remember what type of OS you are dealing with here. This is not windoze. Besides, how hard is it to type " mount /mnt/cd " anyway? You can always write a shell script that will mount the cd for you if you can't type in the command, that way you can create an icon if you are using a GUI.
Hope this helps!
Offline
andy: Thanks for the info, I'm a little confused about how autofs works so far, but it might be what I'm after.
martinaramirez: True, it's not Windows, which is one of the things I like the most about it. However, one of the few things that Windows does better in my books is cd mounting/unmounting.
It's not about the difficulty, in fact I've made a shell script for exactly that (in Vector, my other distro that I don't really use anymore), but am frustrated by it.
What I want is convenience, and a shell script doesn't offer it. I can apparently achieve it by patching the kernel with supermount, but recompiling my kernel is itself quite inconvenient (hard drive space is an extreme issue for me, plus I'd rather not take the time to patch and compile every time I update the kernel).
Offline
Hi gid13.
If you use KDE, it's very simple to set up an icon to mount, unmount, and access your CD-ROM. If you click your wheelmouse (or the right and left buttons simultaneously, depending on your XF86Config mouse setup), you'll see a menu with the several options: "Create New"->"Device"->"CD-ROM Device".
Gnome offers a very similar option.
autofs works very well with CD-ROMs and is easy to set up.
Regards,
Win
Offline
AAARRRGGHHH!!!
Sorry. Just tried implementing autofs. Worst. Linux experience. ever. Somehow I have managed to delete my /etc directory, probably because I directed autofs to unmount things quickly, and told it to use / for the cdrom drives. So I think I've rendered my current installation useless.
All I want is to have the cd come out of the drive when I press the button. Is that so much to ask?
btw KDE's cd-rom controls are indeed easy to set up, but are not how I want my system to work.
Offline
make your mount points (which are just empty directories) inside the /mnt directory.
mkdir /mnt/cd
use that as a "landing zone" for your mount commands
Offline
Hi gid13.
Since you want to eject the cd, download the "eject" package. This utility expects to have the cdrom represented in a non-devfs manner (e.g., "/dev/hdc"), so you should also uncomment the lines in /etc/devfsd.conf that refer to cdroms.
You can then type "eject" and the CD will pop out.
If you set up a CD-ROM icon under KDE (using one of several templates), there is an 'Eject' menu option for the icon (using "kdeeject").
Regards,
Win
Offline
that reminds me that under GNOME there was a menu to mount/unmount any media.
right click on the desktop & there will be a menu to mount/unmount all your media. that's pretty simple too.
Offline
I can apparently achieve it by patching the kernel with supermount, but recompiling my kernel is itself quite inconvenient (hard drive space is an extreme issue for me, plus I'd rather not take the time to patch and compile every time I update the kernel).
You will get used to it. And then, you can start trying out different patches like bootsplash and so forth. Its fun. 8)
Offline
Egil.B: I've used bootsplash under Gentoo before. It does indeed rule, but I still hate compiling ANYTHING, including (and probably especially) kernels.
Offline
if you use gkrellm then just set mount/umount up there and then you you will have a couple of cute little widget that will save you all that hard typing.
automounting external media such as cds and flopies is a security risk. besides automount is a waste of process which not very in keeping with the *nix concept of device handling.
i like it so much that i wish that it was possible to option it out of my OS X on my mac.
AKA uknowme
I am not your friend
Offline
I think if I have to manually mount/unmount a cd every time I use one, I'm going to be very bothered. Is there a remotely easy way to make my cdrw/dvd drives mount and unmount automatically? Thanks in advance.
"Rox" mounts automatically any removable media, basing on /etc/fstab entries. The same for XFCE built-in file manager ("xffm").
Offline
this is where windows wins. in windows you can just press the goddam eject button on the cd drive to eject. but of course, this behavior can also be had on linux, by preventing the locking of the drive in the first place. the setting goes in /etc/sysctl.conf.
Offline
Well modern setups handle this automatically - using hal, dbus, and gnome-volume-manager or whatever it's called for example. So this thread is sort of redundant nowadays.
Also, why the necromancy?
Offline
Well modern setups handle this automatically - using hal, dbus, and gnome-volume-manager or whatever it's called for example. So this thread is sort of redundant nowadays.
Also, why the necromancy?
as far as i know "modern setups" do not automatically mean that you can press the eject button to eject a disc without explicitly unmounting it first.
(and is there something inherently wrong in replying to an old thread?)
Offline
(and is there something inherently wrong in replying to an old thread?)
Yes. It's 2 years old. The solutions for this problem are there. And if the OP needed any help, they probably would have kept posting.
Offline
IIRC gnome-volume-manager will unmount and eject the CD if you hit the button.
Offline
alternatively, just use ivman.
install it, rename the default configs, and add it to DAEMONS=(). Automounting under anything done easily. It unlocks the CD so you can just eject it.
As for anyone contemplating using anything mentioned in the thread originally, supermount is no longer maintained, and such tools as ivman and kde and gnome's inbuilt tools are probably the best options going round.
James
Offline
Pages: 1