jail, unionfs, pwd

takawata at jp.freebsd.org takawata at jp.freebsd.org
Fri Oct 1 05:20:48 PDT 2004

In message <87y8iqptdp.fsf at neva.vlink.ru>, Denis Shaposhnikov wrote:
>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?

If the filesystem  /mnt is using is same as /usr,
it is something like the problem which I encounted once.


More information about the freebsd-current mailing list