14 character limitation in filenames

Craig Macbride s900387 at minyos.xx.rmit.oz.au
Thu Jan 31 22:57:21 AEST 1991


jrh at mustang.dell.com (James Howard) writes:

>In article <290 at sps.com>, arm at sps.com (Annette Myjak) writes:
>> can anyone explain why there's the 14 character limitation in filenames
>> (11 + 3 for extension) in interactive unix?

>It is not 11+3, but 14 characters period.  (Which would map to 11+2 anyway,
>including the period).

Actually, it's 16-2, if anything. SysV Unix likes directories which have 16-
byte entries for files, which are split into 2-byte unsigned inode number and
14-byte file name. As you pointed out, BSD uses up to 255 chars, by storing
each entry in a variable length.

-- 
 _____________________________________________________________________________
| Craig Macbride, s900387 at minyos.xx.rmit.oz.au |  Reality is for people who   |
| Only the equipment belongs to Victoria Uni.  | can't handle science fiction.|
| of Technology (RMIT); The opinions are mine. |______________________________|



More information about the Comp.unix.sysv386 mailing list