Re: jail, unionfs, pwd

From: <takawata_at_jp.freebsd.org>
Date: Fri, 01 Oct 2004 21:20:04 +0900
In message <87y8iqptdp.fsf_at_neva.vlink.ru>, Denis Shaposhnikov wrote:
>Hi!
>
>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 127.0.0.1 /bin/tcsh
># pwd
>/
># cd /.ro
># pwd
>/.ro
># 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.

http://docs.FreeBSD.org/cgi/mid.cgi?200202251435.XAA91094
Received on Fri Oct 01 2004 - 10:20:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC