A suggestion: .... == ../../..
Eduardo Krell
ekrell at hector.UUCP
Sun Apr 24 03:46:25 AEST 1988
In article <13087 at brl-adm.ARPA> rbj at icst-cmr.arpa writes:
>While `.' could possibly be removed from the file system (but then
>how would you remove a file called `-r')
The kernel, or more specifically namei(), doesn't actually open the
directory to look for "." in a filename like "./-r". It knows what
the current working directory is (it's in the user block) and it
uses that instead of looking for a "." entry.
Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ
UUCP: {ihnp4,ucbvax}!ulysses!ekrell ARPA: ekrell at ulysses.att.com
More information about the Comp.unix.wizards
mailing list