You are not logged in.

#1 2004-03-21 19:13:38

gid13
Member
Registered: 2004-03-19
Posts: 19

I hate mounting/unmounting cds :)

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

#2 2004-03-21 20:10:05

Shemeta
Member
Registered: 2004-02-11
Posts: 117

Re: I hate mounting/unmounting cds :)

i hope this will help you a lil, for more information maybe some of the devs can explain you more.

http://supermount-ng.sourceforge.net/

Offline

#3 2004-03-21 22:48:11

gid13
Member
Registered: 2004-03-19
Posts: 19

Re: I hate mounting/unmounting cds :)

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

#4 2004-03-21 23:06:57

wakeupbomb
Member
From: Liverpool, UK
Registered: 2004-02-15
Posts: 164

Re: I hate mounting/unmounting cds :)

I think I read somewhere that supermount causes incompatibilities with some stuff...although I may of just made that up. hmmmm *ponders*

Offline

#5 2004-03-21 23:09:15

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

Re: I hate mounting/unmounting cds :)

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

#6 2004-03-21 23:10:48

martinaramirez
Member
From: San Antonio, Texas, USA
Registered: 2004-02-12
Posts: 17

Re: I hate mounting/unmounting cds :)

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!  big_smile

Offline

#7 2004-03-21 23:53:09

gid13
Member
Registered: 2004-03-19
Posts: 19

Re: I hate mounting/unmounting cds :)

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

#8 2004-03-22 00:49:12

Win
Member
Registered: 2004-03-04
Posts: 155

Re: I hate mounting/unmounting cds :)

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

#9 2004-03-22 01:12:43

gid13
Member
Registered: 2004-03-19
Posts: 19

Re: I hate mounting/unmounting cds :)

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

#10 2004-03-22 01:34:20

whol
Member
Registered: 2004-02-04
Posts: 155

Re: I hate mounting/unmounting cds :)

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

#11 2004-03-22 03:48:04

Win
Member
Registered: 2004-03-04
Posts: 155

Re: I hate mounting/unmounting cds :)

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

#12 2004-03-22 07:11:20

Shemeta
Member
Registered: 2004-02-11
Posts: 117

Re: I hate mounting/unmounting cds :)

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

#13 2004-03-22 15:00:46

Egil.B
Member
From: Universitas Osloensis
Registered: 2004-02-14
Posts: 116

Re: I hate mounting/unmounting cds :)

gid13 wrote:

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. wink And then, you can start trying out different patches like bootsplash and so forth. Its fun.  8)

Offline

#14 2004-03-22 21:24:40

gid13
Member
Registered: 2004-03-19
Posts: 19

Re: I hate mounting/unmounting cds :)

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

#15 2004-03-23 18:07:24

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: I hate mounting/unmounting cds :)

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

#16 2004-04-10 18:46:35

NeutronStar
Member
From: Milano, ITALY
Registered: 2004-03-23
Posts: 24

Re: I hate mounting/unmounting cds :)

gid13 wrote:

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

#17 2006-06-15 17:07:19

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: I hate mounting/unmounting cds :)

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

#18 2006-06-15 18:02:06

rezza
Member
From: Edinburgh, uk
Registered: 2004-07-08
Posts: 237

Re: I hate mounting/unmounting cds :)

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

#19 2006-06-15 20:56:10

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: I hate mounting/unmounting cds :)

rezza wrote:

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

#20 2006-06-15 21:13:05

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: I hate mounting/unmounting cds :)

Galdona wrote:

(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

#21 2006-06-15 22:12:14

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: I hate mounting/unmounting cds :)

IIRC gnome-volume-manager will unmount and eject the CD if you hit the button.

Offline

#22 2006-06-16 09:26:18

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: I hate mounting/unmounting cds :)

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

Board footer

Powered by FluxBB