automount doesn't "follow" bind mounts

From: Matt Bernstein (mb/
Date: Tue Aug 20 2002 - 12:10:40 EST

I tried to subscribe to the autofs list, but majordomo isn't replying to
me! I think this is a problem in the automount daemon rather than the
kernel autofs code itself.

I'm trying to automount our home dirs as
which should bind mount to
which should bind mount to
which (phew!) will be an NFS mount to

The idea is that:
        (1) `/bin/pwd` = "/homes/$USERNAME"
        (2) when you run "quota" it'll only report for $SERVER:/$VOLUME

Now.. this all works perfectly if before looking at /homes/$USERNAME you
look at firstly /home/$SERVER/$VOLUME/$PATH/$USERNAME and then secondly
/home/$SERVER/$HOMENAME/$USERNAME, because the bind mounts have something
to bind to. Of course you shouldn't need to know the middle bits, but you
could look them up. Currently the binds mount fail and automount drops in
symlinks; this satisfies (2) above, but unfortunately not (1).

I hope someone can make sense of this. Is it different in autofs4?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:20 EST