home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25647 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.8 KB  |  48 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!enterpoop.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!dmuir
  3. From: dmuir@athena.mit.edu (Douglas Muir)
  4. Subject: Re: Filesystems for people providing packets
  5. Message-ID: <1993Jan27.234742.6488@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: carbonara.mit.edu
  8. Organization: Massachusetts Institute of Technology
  9. References: <1993Jan24.032251.22453@umibox.hanse.de> <5DVZXB5w165w@kf8nh.wariat.org>
  10. Date: Wed, 27 Jan 1993 23:47:42 GMT
  11. Lines: 35
  12.  
  13. With regard to people who provide packages using a filesystem which supports 
  14. long file names, I would like to point out that this really only applies to
  15. those who are porting packages which already use long file names.  One example
  16. is gwm (not to malign the person who ported this package, I'm sure everyone
  17. who uses the package is glad he did).  The main program in this package (gwm)
  18. and its support files were all written to use long file names, and the support
  19. files include other support files with long file names, etc.  On a minix 
  20. filesystem, with truncated names, all works well - the filenames are shorter
  21. and the filesystem, knowing this, will open the file xxx-yyy-zzz-ww even 
  22. though the name of the file actually requested was xxx-yyy-zzz-www.  However,
  23. the problem arrises when the porter with the minix filesystem tars up the 
  24. package and uploads it for others to use.  If the user happens to have a
  25. minix filesystem, everything works - the package (all of whose filenames are
  26. now max 14 chars - regardless of what they were originally) untars fine - no
  27. filenames get truncated since the truncated filenames are what are in the 
  28. archive - and the user runs the program without trouble, because even though
  29. the program is still looking for file xxx-yyy-zzz-www, his filesystem is
  30. opening xxx-yyy-zzz-ww.  But when someone with an extended filesystem (and by
  31. extended I mean any of the fileystems which have long filenames) untars the 
  32. package - he gets the files with the truncated names on his disk.  When he
  33. goes to run the program, the package tries to open file xxx-yyy-zzz-www, but
  34. there is no such file.  The user has to rename the file xxx-yyy-zzz-ww.  The
  35. only reason I'm explaining this (which really is pretty obvious - once you
  36. stop to think about it) is that many people apparently don't think about it,
  37. as evidenced by the rather harsh response the original poster received.  So
  38. there are good reasons why package maintainers should attempt to preserve 
  39. the "longness" of filenames in their packages - though I do recognize that the
  40. people who maintain and distribute these packages do so on a volunteer basis
  41. only, and as such, we really have no right to complain about anything they
  42. do.  If the only price I have to pay for the convenience of having a
  43. pre-compiled package is a little bit of time spent renaming files, that's 
  44. fine with me.
  45.                             -Doug Muir
  46.  
  47.  
  48.