==> Regarding [autofs] autofs-4.1 slow to mount; Joseph Mack NA3T <[EMAIL PROTECTED]> 
adds:

jmack> Linux-2.4.26, autofs4 as module, libc-2.3.2 mounting zip disk by
jmack> autofs

jmack> with automount-4.0.0pre10, the disk mounts in 1sec

jmack> (interval between "attempting to mount entry /removable/zip" and
jmack> "kernel: kjournald starting. Commit interval 5 seconds" messages)

jmack> with automount-4.1.2 the same interval is 11 secs.

Not sure what the issue here is.  Trying with my latest rpm would provide a
useful data point.  See below.

jmack> on another similar machine, automount-4.1.2 won't mount the zip
jmack> disk, giving "e2fsck: need terminal for interactive repairs".
jmack> Running fsck from the command line shows a clean zip disk.
jmack> automount-4.0.0pre10 mounts zip disk OK.

Hmm.  This second issue sounds like the spawnl issue discovered a little
while back.  Could you try the autofs package from my people page:

      http://people.redhat.com/~jmoyer/

Or, you could try the attached patch.

Thanks!

Jeff

--- autofs-4.1.2/modules/mount_ext2.c.ext2      2004-01-29 17:01:22.000000000 +0100
+++ autofs-4.1.2/modules/mount_ext2.c   2004-04-20 14:57:00.524935974 +0200
@@ -87,10 +87,10 @@
 #endif
        if (ro) {
                debug(MODPREFIX "calling %s -n %s", fsck_prog, what);
-               err = spawnl(LOG_DEBUG, fsck_prog, fsck_prog, "-n", what, NULL);
+               err = spawnl(LOG_DEBUG, MOUNTED_LOCK, fsck_prog, fsck_prog, "-n", 
what, NULL);
        } else {
                debug(MODPREFIX "calling %s -p %s", fsck_prog, what);
-               err = spawnl(LOG_DEBUG, fsck_prog, fsck_prog, "-p", what, NULL);
+               err = spawnl(LOG_DEBUG, MOUNTED_LOCK, fsck_prog, fsck_prog, "-p", 
what, NULL);
        }
 
        if (err & ~6) {

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to