From owner-freebsd-current@FreeBSD.ORG Fri Oct 1 11:28:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFECC16A4CE for ; Fri, 1 Oct 2004 11:28:38 +0000 (GMT) Received: from deliver.smtp.vlink.ru (alias.rigel.internal.vlink.ru [217.23.88.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id A054C43D62 for ; Fri, 1 Oct 2004 11:28:35 +0000 (GMT) (envelope-from dsh@vlink.ru) Received: from smtp.smtp.vlink.ru (clamav.smtp.vlink.ru [192.168.4.1]) by deliver.smtp.vlink.ru (Postfix) with ESMTP id EB7C645C2E for ; Fri, 1 Oct 2004 15:28:32 +0400 (MSD) Received: from neva.vlink.ru (neva.internal.vlink.ru [10.10.14.8]) by smtp.smtp.vlink.ru (Postfix) with ESMTP id A8998459EB for ; Fri, 1 Oct 2004 15:28:32 +0400 (MSD) Received: from neva.vlink.ru (localhost [127.0.0.1]) by neva.vlink.ru (8.13.1/8.13.1) with ESMTP id i91BSWQZ078430 for ; Fri, 1 Oct 2004 15:28:32 +0400 (MSD) (envelope-from dsh@vlink.ru) Received: (from dsh@localhost) by neva.vlink.ru (8.13.1/8.13.1/Submit) id i91BSWSI078427; Fri, 1 Oct 2004 15:28:32 +0400 (MSD) (envelope-from dsh@vlink.ru) To: freebsd-current@freebsd.org From: Denis Shaposhnikov Date: Fri, 01 Oct 2004 15:28:32 +0400 Message-ID: <87brfmr82n.fsf@neva.vlink.ru> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Fri, 01 Oct 2004 12:17:19 +0000 Subject: jail, unionfs, pwd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 11:28:39 -0000 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? -- DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/