Bonjour,

J'aimerais savoir comment configurer autofs afin de pouvoir ejecter le
lecteur de cdrom avec la commande eject. Actuellement, j'ai le message
suivant :

umount: /dev/cdrom mount disagrees with the fstab
eject: unmount of `/dev/cdrom' failed

Voici le contenu de mes fichiers de configuration :

auto.master:

# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(5).

/auto   /etc/auto.misc  --timeout=60

/var/autofs/misc        /etc/auto.misc
/var/autofs/net         /etc/auto.net

auto.misc :

# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

#kernel         -ro                                     
ftp.kernel.org:/pub/linux
#boot           -fstype=ext2                            :/dev/hda1
#removable      -fstype=ext2,sync,nodev,nosuid          :/dev/hdd

cdrom           -fstype=auto,iso9660,ro,sync,nodev,nosuid                       
:/dev/cdrom
floppy          -fstype=auto,sync,nodev,nosuid,gid=100,umask=000        
:/dev/fd0

Merci d'avance !


Répondre à