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

Not the kind you have to wind up on Sunday matt at oddjob.UChicago.EDU
Wed Apr 20 03:56:28 AEST 1988


In article <1934 at bgsuvax.UUCP> kutz at bgsuvax.UUCP (Kenneth Kutz) writes:
) Modify mkdir.
) This would seem to be only a matter of creating a third link (in addition
) to the 2 that get created now "." and "..") which would be "..." for
) grandparent etc.  This would require extra directory entries for the
) newly-created entries, one for each "parent" directory that exists.

So in directory /usr/users/matt/stuff I do "mkdir junk".  Quick,
what's the inode number for "....." in junk?

This is a bad idea all around.  Features for user convenience belong
in the shell.  Features from programmer convenience belong in a
subroutine library.
				Matt Crawford



More information about the Comp.unix.wizards mailing list