Unified getcwd() implementation

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat May 8 12:33:25 PDT 2004


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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040508/b2aeff9a/attachment.bin


More information about the freebsd-current mailing list