Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!ames!ncar!asuvax!mcdphx!estinc!fnf From: fnf@estinc.UUCP (Fred Fish) Newsgroups: comp.sys.amiga.tech Subject: Re: toolpath wanted in workbench 1.4 Message-ID: <221@estinc.UUCP> Date: 4 Sep 89 03:45:29 GMT References: <1410027@hpcvca.CV.HP.COM> <8382@etana.tut.fi> <4147@sugar.hackercorp.com> <13757@super.ORG> Reply-To: fnf@estinc.UUCP (Fred Fish) Organization: Enhanced Software Technologies, Inc. Lines: 47 In article <13757@super.ORG> rminnich@super.UUCP (Ronald G Minnich) writes: >In article <4147@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: >>In article <8382@etana.tut.fi>, pl@etana.tut.fi (Lehtinen Pertti) writes: >>> Guess why Unix doesn't allow you make hard links to directories. >>But it does. >huh? The last version of Unix that allowed you to was long ago. I just >tried it here on my sun and it won't let me. >What kinda Unix you got out there, peter? This is not exactly related to the Amiga but here goes anyway. This is on SCO Xenix 2.3.1, and should work on probably any Unix, including a Sun... Script started [typescript] at Sun Sep 3 20:41:31 1989 # cat junk.c main () { system ("mkdir junk"); link ("junk", "junk2"); } # cc junk.c # ./a.out # ls -lid junk* 1805 drwxr-xr-x 3 root root 32 Sep 3 20:41 junk 1998 -rw-r--r-- 1 root root 61 Sep 3 20:38 junk.c 1805 drwxr-xr-x 3 root root 32 Sep 3 20:41 junk2 (note inode numbers of 1805 show that junk and junk2 are links to the same directory) # date >junk/file # ls -li junk junk2 junk: total 2 1949 -rw-r--r-- 1 root root 29 Sep 3 20:42 file junk2: total 2 1949 -rw-r--r-- 1 root root 29 Sep 3 20:42 file # rm junk/* # ls junk # ls junk2 # rmdir junk junk2 # exit Script ended [typescript] at Sun Sep 3 20:42:31 1989 -- # Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284, USA # 1-602-491-0048 asuvax!{nud,mcdphx}!estinc!fnf