Re: Unified getcwd() implementation

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sat, 8 May 2004 21:33:20 +0200
On Sun, May 09, 2004 at 01:14:12AM +1000, Tim Robbins wrote:
+> > What would be gained from this patch is:
+> > - consistency
+> 
+> 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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd_at_FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Sat May 08 2004 - 10:33:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:53 UTC