jail, unionfs, pwd

Denis Shaposhnikov dsh at vlink.ru
Fri Oct 1 04:28:39 PDT 2004


Something wrong with unionfs, look at this:

[dsh at neva dsh]$ mkdir /mnt/.ro
[dsh at neva dsh]$ cp -R /bin /lib /libexec /mnt/
[dsh at neva dsh]$ mount_unionfs -r /usr /mnt/.ro
[dsh at neva dsh]$ jail /mnt x.x /bin/tcsh
# pwd
# cd /.ro
# pwd
# cd /.ro/bin
# pwd
pwd: .: No such file or directory

Why pwd said this? What is wrong?

DSS5-RIPE DSS-RIPN 2:550/5068 at fidonet 2:550/5069 at fidonet
mailto:dsh at vlink.ru http://neva.vlink.ru/~dsh/

More information about the freebsd-current mailing list