automount weirdness
From: Amadeus (nobody_at_nowhere.org)
Date: 05/02/04
- Next message: Ed Murphy: "Re: State of the GnuCash project, a call for help"
- Previous message: Dan Hicks: "Re: using linux with windows"
- Next in thread: Amadeus: "Re: automount weirdness"
- Reply: Amadeus: "Re: automount weirdness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 02 May 2004 02:06:10 -0400
I'm trying to get the floppy and the zip disks mount/unmount
automatically with autofs. So I have
In /etc/auto.master:
/misc /etc/auto.misc --timeout=60
and in /etc/auto.misc:
floppy -fstype=auto,rw,sync,umask=000 :/dev/fd0
zip -fstype=auto,rw,sync,umask=000 :/dev/hdb4
Then if I cd /misc/floppy, the floppy gets mounted, and after 1 min
it is unmounted. Also, as root I can umount /misc/floppy within
1 minute since it was mounted.
Different story with the zip drive. I can cd /misc/zip and it
gets mounted, but it never gets unmounted. If I try to unmount it
manually, as root,
# umount /misc/zip/
umount: /misc/zip: device is busy
# fuser -auv /misc/zip
USER PID ACCESS COMMAND
/misc/zip root kernel mount /misc/zip
# /etc/rc.d/init.d/autofs stop
umount2: Device or resource busy [FAILED]
umount: /misc: device is busy
I don't know what I'm doing wrong, nor do I understand how this
is possible. The floppy and zip entries in auto.misc are virtually
the same. I'm running Fedora 1 with kernel 2.4.22-1.2188.nptl
and autofs-3.1.7-42. Is there some stale lock file for the zip and
not for floppy? What else can it be?
- Next message: Ed Murphy: "Re: State of the GnuCash project, a call for help"
- Previous message: Dan Hicks: "Re: using linux with windows"
- Next in thread: Amadeus: "Re: automount weirdness"
- Reply: Amadeus: "Re: automount weirdness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|