home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10076 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  3.5 KB

  1. Path: sparky!uunet!mcsun!corton!jussieu!card
  2. From: card@masi.ibp.fr (Remy CARD)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: DR-DOS and linux boot, 14 char filenames
  5. Message-ID: <1992Sep7.130606.25850@jussieu.fr>
  6. Date: 7 Sep 92 13:06:06 GMT
  7. References: <1574@lysator.liu.se> <1992Sep4.141728@tiger1.prime.com> <1992Sep4.213636.26602@muddcs.claremont.edu>
  8. Sender: news@jussieu.fr (Le Facteur)
  9. Organization: Laboratoire MASI - Universite Pierre et Marie Curie - Paris - France
  10. Lines: 64
  11. Nntp-Posting-Host: ares.ibp.fr
  12.  
  13. In article <1992Sep4.213636.26602@muddcs.claremont.edu> jwinstea@fenris.claremont.edu (Jim Winstead Jr.) writes:
  14. >In article <1992Sep4.141728@tiger1.prime.com> cummings@tiger1.prime.com (Kevin J. Cummings) writes:
  15. >>In article <1574@lysator.liu.se>, lien@lysator.liu.se (Jan Lien) writes:
  16. >
  17. >>> Where do I find the stuff for more than 14 characters in linux
  18. >>> filenames?    Does it work properly?
  19. >>
  20. >>the Extended File System (EFS) is in ALPHA test and is a part of the latest
  21. >>kernel.  Use with caution.  They are promising to change the disk part
  22. >>of the files system RSN (real soon now) in an incompatible but upgradeable
  23. >>fashion.  Personally, I can work around most of the 14 char limit and will
  24. >>wait for at LEAST a BETA test of EFS before I convert over.
  25. >
  26. >Well, even though things like the MS-DOS fs, Extended fs, and LILO are
  27. >all called 'alpha test', they've all been quite solid in my
  28. >experience.  There's no need to scare anyone off.  :)
  29.  
  30.     Well, it is good to read that at least some people are happy with
  31. the ext fs.  Note that, for people not using the ext fs, I would recommend
  32. to wait until the release of the new ext fs which should be better.
  33.  
  34. >
  35. >>By the way, in case any of the EFS team is listening, 256 character filenames
  36. >>is overkill.  32 characters would have probably handled 95% of the problems out
  37. >>there (not accounting for C++ generated names).  But I'm not complaining!
  38. >
  39. >Yes, but someone would have complained when they wanted a 34-character
  40. >name and couldn't do it.  :)  Ideally, the name length should be
  41. >stored in the directory along with the name, instead of a fixed-length
  42. >string....
  43.  
  44.     Yes, the EFS team (me in fact ;-) ) is listening.  In the ext fs,
  45. file name length is stored in the directory.  A directory entry is a record
  46. containing :
  47.     - the inode number,
  48.     - the size of the record,
  49.     - the size of the file name,
  50.     - the name itself.
  51.  
  52.     With this structure, directory operations (find_entry, add_entry) are
  53. a bit slower than in the minix fs (where directory entries have a fixed size) but
  54. it's the price to pay to get longer file names without disk space waste.  In fact,
  55. in the current ext fs implementation, some space is still wasted because some
  56. directory entries can use more space than needed when an unused directory entry
  57. is reallocated (thanks to Wayne Davison for noting this).  In the next version
  58. of the ext fs which will be "incompatible but upgradeable" and will be available
  59. RRSN (really real soon now), this is corrected.
  60.  
  61.     Note that the limitation to 255 character is not really needed: with
  62. 1k blocks, we could limit the file names to 1012 characters (the header of a
  63. directory entry is 8 bytes long) but I think that 255 is quite enough.
  64.  
  65.  
  66. >-- 
  67. >                                    +      Jim Winstead Jr. (CSci '95)
  68. >                                    |      Harvey Mudd College, WIBSTR
  69. >                                    |   jwinstea@jarthur.Claremont.EDU
  70. >                                    + or jwinstea@fenris.Claremont.EDU
  71.  
  72.  
  73. --
  74.  
  75.     Remy Card
  76.     card@masi.ibp.fr
  77.