home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / minix / 5253 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.5 KB  |  42 lines

  1. Newsgroups: comp.os.minix
  2. Path: sparky!uunet!usc!sdd.hp.com!ncr-sd!crash!cwr
  3. From: cwr@crash.cts.com (Will Rose)
  4. Subject: Re: Another MacMINIX 'suggestion'
  5. Organization: CTS Network Services (crash, ctsnet), El Cajon, CA
  6. Date: 23 Jan 93 15:04:44 PST
  7. Message-ID: <1993Jan23.150444.16610@crash>
  8. References: <1jqrr5INNbbo@usenet.INS.CWRU.Edu>
  9. Lines: 31
  10.  
  11. James Abendschan (bf795@cleveland.Freenet.Edu) wrote:
  12. :  
  13. : >Date: Fri Jan 22 08:05:47 1993
  14. : >From: jimlynch@netcom.com (Jim Lynch)
  15. : >Subject: Re: Things I Wish Were In MINIX
  16. : >To: bf795@cleveland.Freenet.Edu
  17. : >Newsgroups:  comp.os.minix
  18.  
  19. [lines omitted]
  20.  
  21. : >On longer names: the files limits.h, unistd.h and ar.h all have a
  22. : >#define whose name contains NAME_MAX. Can I increase this value 
  23. : >without screwing things up? Specifically, would I then have a different
  24. : >flavor of directory entry (and therefore a different flavor of 
  25. : >filesystem?)
  26. :  
  27. : Actually, I think 13 chars is a POSIX requirement or some such.  I
  28. : don't know about this.  It should work though, I suppose.
  29.  
  30. NAME_MAX is the maximum length of a filename; depending on how it is
  31. used in application programs or the kernel, changing it could blow
  32. away the filesytem on which the resultant programs are run.  Minix
  33. uses short filenames of 14 characters because a 14 character filename
  34. and a 16 bit inode number fit into a 16 byte directory entry.  You
  35. can write filesystems with very_long_names, and I think it's been 
  36. done for Minix, but I wouldn't just change NAME_MAX and recompile
  37. if I were you...
  38.  
  39. Good luck - Will
  40. cwr@crash.cts.com
  41.  
  42.