I am using autofs4 for automounting under MDK 8.1. I have a directory, 
/mount, which I use for automounting. It works fine for my DVD drive, CDRW 
drive, a local windows partition, and a remote windows share via smbmount. 
However, I cannot seem to get my floppy to automount. For instance, if I 
issue "ls /mount/floppy" after putting a disk in the drive, I get a "no such 
file or directory" error message. The same command for the dvd drive, for 
instance, works just fine after putting a CD in the drive.

At first, I thought perhaps the floppy drive itself was bad, but if I try to 
manually mount it at a mount point, it works fine, and I can also create a 
file system on the (unmounted) drive.

I have devfs active as is the MDK 8.1 default.

Here is my /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

and my /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=pass        ://kirk/ddrive

Finally: 

ls -l /dev/fd0 give me:

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

and ls -l /dev/floppy give me: 

brw-rw----    1 nl       floppy     2,   0 Dec 31  1969 0
brw-rw----    1 nl       floppy     2,  84 Dec 31  1969 0u1040
brw-rw----    1 nl       floppy     2,  88 Dec 31  1969 0u1120
brw-rw----    1 nl       floppy     2,  28 Dec 31  1969 0u1440
brw-rw----    1 nl       floppy     2, 124 Dec 31  1969 0u1600
brw-rw----    1 nl       floppy     2,  44 Dec 31  1969 0u1680
brw-rw----    1 nl       floppy     2,  60 Dec 31  1969 0u1722
brw-rw----    1 nl       floppy     2,  76 Dec 31  1969 0u1743
brw-rw----    1 nl       floppy     2,  96 Dec 31  1969 0u1760
brw-rw----    1 nl       floppy     2, 116 Dec 31  1969 0u1840
brw-rw----    1 nl       floppy     2, 100 Dec 31  1969 0u1920
brw-rw----    1 nl       floppy     2,  12 Dec 31  1969 0u360
brw-rw----    1 nl       floppy     2,  16 Dec 31  1969 0u720
brw-rw----    1 nl       floppy     2, 120 Dec 31  1969 0u800
brw-rw----    1 nl       floppy     2,  52 Dec 31  1969 0u820
brw-rw----    1 nl       floppy     2,  68 Dec 31  1969 0u830

so I should have permission to access the device.

Any help?

N


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

Reply via email to