Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!uw-beaver!zephyr.ens.tek.com!uunet!mcsun!ukc!pyrltd!root44!gwc From: gwc@root.co.uk (Geoff Clare) Newsgroups: comp.unix.questions Subject: Re: Two links to a directory? Keywords: links,SysV,directory Message-ID: <2751@root44.co.uk> Date: 28 Jun 91 11:51:47 GMT References: <2030@tssi.UUCP> <1991Jun25.081938.25505@swdsrv.edvz.univie.ac.at> Organization: UniSoft Ltd., London, England Lines: 11 tom@itc.univie.ac.at (Tom Kovar) writes: > The superuser may generate directory hard links (see >link(2v)); if not, it would not be possible to have the . and .. entries >in the directory :-) Not true. The links to . and .. can be created by a mkdir() system call, in which case there is no need for link() to be able to link directories. -- Geoff Clare (Dumb American mailers: ...!uunet!root.co.uk!gwc) UniSoft Limited, London, England. Tel: +44 71 729 3773 Fax: +44 71 729 3273