home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12557 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.8 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!dsinc!bagate!cbmvax!jesup
  2. From: jesup@cbmvax.commodore.com (Randell Jesup)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Links & List KEYS
  5. Message-ID: <34568@cbmvax.commodore.com>
  6. Date: 21 Aug 92 23:37:21 GMT
  7. References: <johnv.025y@acix.DIALix.oz.au> <1992Aug6.102602.3216@bernina.ethz.ch> <1b77ca2c.ARN5aa3@moria.UUCP>
  8. Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 28
  11.  
  12. cbmehq!moria!bojsen writes:
  13. >The KEY values should not be thought of as an analogy to the inodes of
  14. >UNIX filesystems according to Randell Jesup.
  15.  
  16.     Correct.
  17.  
  18. >With the current asymmetric implementation of hardlinks you have people
  19. >asking how to find the `real' file.  You can do that with NameFromLock().
  20. >If things were like I would like them to be NameFromLock() would return
  21. >the name of the object you actually locked and not the `real' file.  Why
  22. >do people want to know which one of the several links is the `real' file?
  23. >If you delete the original entry, the contents (i.e., the file itself) doesn't
  24. >disappear (unless there's only one link to it), because another link will
  25. >be promoted to being the `real' file.
  26.  
  27.     Right.  This was a close as we could get without a ground-level rewrite
  28. of the filesystem.  Eventually we may well make hardlinks more Unixlike, so
  29. don't depend on the current implementation.  Also, if anyone ever finishes
  30. the BSD-FFS port to the Amiga, you can have real inodes and real BSD hardlinks.
  31. Dos doesn't care, just the filesystem.
  32.  
  33. -- 
  34. "Rev on the redline, you're on your own; seems like a lifetime, but soon it's
  35.  gone..."  Foreigner
  36. -
  37. Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
  38. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com  BIX: rjesup  
  39. Disclaimer: Nothing I say is anything other than my personal opinion.
  40.