Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 2004 21:33:20 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Tim Robbins <tjr@freebsd.org>
Cc:        freebsd-current@www.freebsd.org
Subject:   Re: Unified getcwd() implementation
Message-ID:  <20040508193320.GI24376@darkness.comp.waw.pl>
In-Reply-To: <20040508151412.GA21857@cat.robbins.dropbear.id.au>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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