Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Oct 2004 21:20:04 +0900
From:      takawata@jp.freebsd.org
To:        Denis Shaposhnikov <dsh@neva.vlink.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: jail, unionfs, pwd
Message-ID:  <200410011220.VAA05579@axe-inc.co.jp>
In-Reply-To: Your message of "Fri, 01 Oct 2004 15:31:14 %2B0400." <87y8iqptdp.fsf@neva.vlink.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <87y8iqptdp.fsf@neva.vlink.ru>, Denis Shaposhnikov wrote:
>Hi!
>
>Something wrong with unionfs, look at this:
>
>[dsh@neva dsh]$ mkdir /mnt/.ro
>[dsh@neva dsh]$ cp -R /bin /lib /libexec /mnt/
>[dsh@neva dsh]$ mount_unionfs -r /usr /mnt/.ro
>[dsh@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410011220.VAA05579>