From owner-freebsd-current@FreeBSD.ORG Sat May 8 12:33:24 2004 Return-Path: Delivered-To: freebsd-current@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0FEA16A4CE for ; Sat, 8 May 2004 12:33:24 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0988843D49 for ; Sat, 8 May 2004 12:33:24 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id DE356ACAFE; Sat, 8 May 2004 21:33:20 +0200 (CEST) Date: Sat, 8 May 2004 21:33:20 +0200 From: Pawel Jakub Dawidek To: Tim Robbins Message-ID: <20040508193320.GI24376@darkness.comp.waw.pl> References: <20040507092235.GA61837@stack.nl> <20040507100119.GA15782@cat.robbins.dropbear.id.au> <20040507235556.GB37035@empiric.dek.spc.org> <20040508010228.GA18935@cat.robbins.dropbear.id.au> <20040508012357.GA37547@empiric.dek.spc.org> <20040508030258.GA19512@cat.robbins.dropbear.id.au> <20040508044207.GB38736@empiric.dek.spc.org> <20040508070040.GA20138@cat.robbins.dropbear.id.au> <20040508135954.GA469@stack.nl> <20040508151412.GA21857@cat.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="go1RpA6MFisfU0Y8" Content-Disposition: inline In-Reply-To: <20040508151412.GA21857@cat.robbins.dropbear.id.au> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: Marc Olzheim cc: Bruce M Simpson cc: Poul-Henning Kamp cc: freebsd-current@www.freebsd.org Subject: Re: Unified getcwd() implementation 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: Sat, 08 May 2004 19:33:25 -0000 --go1RpA6MFisfU0Y8 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 09, 2004 at 01:14:12AM +1000, Tim Robbins wrote: +> > What would be gained from this patch is: +> > - consistency +>=20 +> The only differences I can see between the current implementation and the +> proposed new implementation are: (a) if not all the name components are = in +> the namecache, the (possibly stale) entries can be used instead of +> those obtained through readdir, and (b) getcwd() works on unionfs again +> because it compares vnode pointers instead of device/inode pairs. +> Am I missing something? It can be used in kernel code. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --go1RpA6MFisfU0Y8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAnTYAForvXbEpPzQRAt+HAKD0dXWiizuYR5UdyD7cCh1e6Mm+XQCgxQ8A 4MTQUnwvFS/0IKsmUYIp5Y4= =94Io -----END PGP SIGNATURE----- --go1RpA6MFisfU0Y8--