bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: root-dev-ino.c limitation


From: Paul Eggert
Subject: Re: root-dev-ino.c limitation
Date: Mon, 27 Feb 2006 14:12:44 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> So cygwin has are two root directories, / and //, with distinct dev/inode
> pairs?

That would imply that there are two distinct trees.  But, as I
understand it, / is a subtree of //.  If so, isn't // the "real" root,
and can't the algorithm simply use the dev and ino for // on Cygwin,
so that getcwd always returns a name that begins with "//"?  This
wouldn't remove the need for some //-specific stuff, but it would mean
fewer changes to the code.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]