are bind mounts supposed to be working?

since autofs doesn't support solaris' direct mounts, i've converted the
solaris automounter map into several maps like this:

under solaris, in /net there are mount points and directories containing
mount points:

/net/cc/foo -nosuid,rw               xxx:/nfs/cc/foo
/net/linux -suid,ro     linuxsrv:/home/ftp/pub/LinuxInstall

(from `ypcat -k auto_direct`)

since autofs (from debian potato half a year ago) didn't grok this,
my linux /etc/auto.net contains lines like

linux           -suid,ro        linuxsrv:/home/ftp/pub/LinuxInstall
cc                              :/netcc

i.e. mount points only and an additional /etc/auto.netcc contains mount
points for /netcc:

foo             -nosuid,rw      xxx:/nfs/cc/foo   

with the prior version of autofs, /net/cc was a symlink to /netcc and
everything worked fine.

but now, with autofs 3.9.99-4.0.0pre10-0 (debian package), the symlink
has become a bind mount with the effect that while /netcc/foo works like
before, /net/cc/foo is totally empty!

is this a bug in the bind mount, autofs or my configuration?

kernel is 2.4.18, the system is debian woody, last update today.
(/etc/auto.master contains
/net            /etc/auto.net
/netcc          /etc/auto.netcc
)

rj

Reply via email to