Within the above context, I've got the following question:

Is it possible to *EN*able the symlink behavior instead of using bind?
I have upgraded from 2.2.17 kernel to 2.4.16 and found that 
local mounts within the export directory are not visible on the same machine.
Thanks
  M. Eger


##---- this is auto.master
/distal         /etc/auto.distal

##---- line in auto.distal
ernie           ernie.physik.uni-marburg.de:/local

##---- line in /etc/fstab
...
/dev/hdc1       /local/rescue ext2   defaults,errors=remount-ro 0      2

##---- here is everything ok...
ernie:/# ls /local/rescue/
install  lost+found

##---- this unfortunately does not work: directory content not visible - WHY?
ernie:/# ls /distal/ernie/rescue

##---- this is mounted using 2.4.16 kernel
ernie:/# mount
...
/dev/hdc1 on /local/rescue type ext2 (rw,errors=remount-ro)
...
automount(pid13200) on /distal type autofs (rw,fd=5,pgrp=13200,minproto=2,maxproto=3)
/local on /distal/ernie type none (rw,bind)


##---- entries in /var/log/daemon.log:
...
Jan  3 19:06:08 ernie automount[14006]: parse(sun): gathered options: rw
Jan  3 19:06:08 ernie automount[14006]: parse(sun): core of entry: 
ernie.physik.uni-marburg.de:/local
Jan  3 19:06:08 ernie automount[14006]: mount(nfs): ernie is local, doing bind
Jan  3 19:06:08 ernie automount[14006]: mount(bind): calling mkdir /distal/ernie
Jan  3 19:06:08 ernie automount[14006]: mount(bind): calling mount --bind /local 
/distal/ernie
Jan  3 19:06:08 ernie automount[14006]: mount(bind): mounted /local type bind on 
/distal/ernie
...

##---- daemon.log used to be like that before (with 2.2.17 kernel, very similar 
machine):
...
Jan  3 19:03:35 pc13155 automount[30387]: parse(sun): gathered options: rw
Jan  3 19:03:35 pc13155 automount[30387]: parse(sun): core of entry: 
goofy.physik.uni-marburg.de:/local
Jan  3 19:03:35 pc13155 automount[30387]: mount(nfs): goofy is local, doing bind
Jan  3 19:03:35 pc13155 automount[30387]: mount(bind): symlinked /distal/goofy - > 
/local


Reply via email to