Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: sander on September 13, 2001, 02:40:30 AM

Title: cd-rom automount?
Post by: sander 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
Title: Re: cd-rom automount?
Post by: Gene Cooper 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
Title: Re: cd-rom automount?
Post by: Gene Cooper 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
Title: Re: cd-rom automount?
Post by: WXP 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
Title: Re: cd-rom automount?
Post by: sander 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