Koozali.org: home of the SME Server

cd-rom automount?

sander

cd-rom automount?
« on: September 13, 2001, 02:40:30 AM »
Is there some kind of rpm tht automounts cd-rom drive on drive insrt and unmounts it when cd is taken out?

But can anyone help a non linux user to mount and unmount commands of floppy drive and cd-rom drive.

Sander

Gene Cooper

Re: cd-rom automount?
« Reply #1 on: September 14, 2001, 11:07:35 AM »
I have done this sort of rhing on other Linux versions by editing the smb.conf file and inserting preexec and postexec directives for the CD-ROM share.  You can probably do this with e-smith using the templates-custom feature, but I'm not in a position to check it out right now.

Mounting floppy and CD-ROM (usually):

mount /dev/floppy
mount /dev/cdrom

Remember to umount when done!

This assumes entries in /etc/fstab exitst.  Let me know if this wasn't sufficient.
G

Gene Cooper

Re: cd-rom automount?
« Reply #2 on: September 14, 2001, 11:13:56 AM »
I have done this sort of rhing on other Linux versions by editing the smb.conf file and inserting preexec and postexec directives for the CD-ROM share.  You can probably do this with e-smith using the templates-custom feature, but I'm not in a position to check it out right now.

Mounting floppy and CD-ROM (usually):

mount /dev/floppy
mount /dev/cdrom

Remember to umount when done!

This assumes entries in /etc/fstab exitst.  Let me know if this wasn't sufficient.
G

WXP

Re: cd-rom automount?
« Reply #3 on: September 14, 2001, 06:51:24 PM »
there is a contrib which make a share in samba and when you insert a cdrom it mount it and then unmount it when you finished using it...

have a look in the contribs

sander

Re: cd-rom automount?
« Reply #4 on: September 16, 2001, 02:59:47 AM »
where do I find smb.conf?
and where do i put the preexec ond post exec

i thougt id let you know that i am not an experienced linux user.


Sander