I am hoping that someone can help me out with an automount / autofs problem. 
I use autofs4, which works just fine for my dvd drive, cdrw drive, an old 
windows partition on my HD, and an smbmount of a windows partition on another 
machine on my lan.

However, it just doesn't seem to work for my floppy drive. At first, I just 
figured the drive itself was broken, but them I tried mounting it manually to 
another mount point, and it worked fine, so it seems the problem is in autofs.

Any help appreciated.

Here's the data. I am running MDK 8.1 with 2.4.17 kernel, with autofs4 
compiled in.

Here's /etc/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(8).
#/misc  /etc/auto.misc  --timeout=60
#/net   /etc/auto.net   --timeout=60
/mount  /etc/auto.mount --timeout=15

Here's /etc/auto.mount:

# $Id: auto.master,v 1.2 1997/10/06 21:52:04 hpa Exp $
# Created 10-21-2001 NL
# 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
dvd     -fstype=iso9660,ro,nosuid,nodev,exec,user       :/dev/dvd
cdrw    -fstype=iso9660,ro,nosuid,nodev,noexec,user     :/dev/cdrw
floppy  -fstype=auto,nosuid,noauto,user,nodev,unhide    :/dev/fd0
windows -fstype=vfat,user,exec,umask=0                  :/dev/hda2
kirk    -fstype=smbfs,user,nosuid,noauto,noexec,rw,password=xyzzy       ://kirk/ddrive

Here's the output of ls -l /dev/fd0:

lr-xr-xr-x    1 root     root            8 Mar  4 02:41 /dev/fd0 -> floppy/0

and /dev/floppy/0 looks like this (ls -l /dev/floppy/0):

brw-rw----    1 nl       floppy     2,   0 Dec 31  1969 /dev/floppy/0

(I make the floppy owned by me (nl) just to ensure it wasn't a permissions 
problem.)

Thanks for any help...

N



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to