Re: Mount a CD-ROM automatically
2006. július 5. 18:26,
"Henrique Rennó" <henrique.renno@gmail.com>
-> debian-user@lists.debian.org,:
> Hello!!!
>
> I'd like to know if it is possible to mount a cd-rom automatically
> when I put a cd in the cd-rom drive without needing to type mount
> /mnt/cdrom for instance.
>
> Do I have to add some options to /etc/fstab instead of auto that tells
> to mount just at boot time??? Is there a module that should be
> installed and what could it be???
>
Hi!
Try the autofs package.
$ apt-cache show autofs
[...]
Description: kernel-based automounter for Linux
Autofs controls the operation of the automount daemons. The
automount daemons automatically mount filesystems when they
are used and unmount them after a period of inactivity. This
is done based on a set of pre-configured maps.
.
The kernel automounter implements an almost complete SunOS
style automounter under Linux. Automounter version 4
(autofs4) has to be enabled when compiling the kernel.
Debian packaged kernels have it enabled.
Daniel
--
LeVA
Reply to: