A suggestion: .... == ../../..

Tim Chase tim at introl.uucp
Wed Apr 20 09:33:03 AEST 1988


In article <4221 at vdsvax.steinmetz.ge.com> barnett at steinmetz.ge.com (Bruce G. Barnett) writes:
>The beauty of the current implemenetation is that the file system
>does most of the work. That is, the files '.' and '..' are really
>there.

Unfortunately, the non-beauty of many current implementations is that the "."
and ".." are finding their way into kernel now that we have things like
rename(2) and chroot(2).  I think the functionality of these, and other,
new functions is worth it and may provide some precedent for things like
the "..." suggestion.

Maybe now that knowledge of "." and ".." is both in the file system and
the kernel, they ought to be removed from the file system.  That would
at least save some disk space, but would probably break programs that
read directories.


-- 
UUCP: {uunet,uwvax!uwmcsd1}!marque!introl!tim
Phone: +1 414 276-2937



More information about the Comp.unix.wizards mailing list