On Sat, Dec 6, 2008 at 6:44 PM, Brad Frank <[EMAIL PROTECTED]> wrote: > When I use ftpfs to mount a ftp site and then bind /n/ftp to another > location. All appears to work fine in /n/ftp and in the other > location. When I type ns, I can clearly see the pipe bind for ftpfs > mounted to /n/ftp. When I unmount /n/ftp I can type ls on /n/ftp and > not see anything there. But if I ls on the other location that I bound > to /n/ftp, it still can access the ftp server. How is the other > location able to do this, when I don't see any indication of a pipe > bind still listed in ns? I do see the ftpfs process running, though. > >
the bind shows here, like it should cpu% ns | tail -3 mount -b '#s/rio.iru.323' /dev mount -c '#|/data1' /n/ftp cd /usr/iru cpu% bind /n/ftp new cpu% ns | tail -3 mount -c '#|/data1' /n/ftp mount '#|/data1' /usr/iru/new cd /usr/iru cpu% lc /n/ftp | tail -1 pub cpu% unmount /n/ftp cpu% ns | tail -3 mount -b '#s/rio.iru.323' /dev mount '#|/data1' /usr/iru/new cd /usr/iru cpu% lc /n/ftp cpu% lc new | tail -1 pub cpu% unmount new cpu% ns | tail -3 mount '#s/rio.iru.323' /mnt/wsys 1 mount -b '#s/rio.iru.323' /dev cd /usr/iru i may be mistaken here but it seems that unmount calls cclose which calls decref and only if the mount is the last reference to the server, it will be freed. the behaviour seems ok here, then. iru