Discussion: File name length??
Afficher un message
Vieux 28/05/2007, 20h10   #3
Lew Pitcher
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File name length??

On May 28, 1:16 pm, Dave Kelly <daveeke...@earthlink.net> wrote:
> I don't know where to ask this. If there is a better place, please let
> me know.
>
> Is there any limit on file length now-a-days?


File lengths are governed by the size of your storage media, the type
of filesystem you use, and any quota assigned to the user or group.
Itym 'length of the filename' here.

> When I started it was 8 char . 3 extension


AFAIK, Unix has never had an 8.3 limit, especially since there was no
special meaning given to the dot character. Early Unix had a 14-
character file name restriction, as a directory entry was 16bytes long
(2 bytes for the inode, 14 bytes for the filename, no \0 terminator)

Perhaps you are thinking of CP/M or MS/DOS?

> Then it went to 26 char . 3 extension


That fits, I think. That would make a dirent 32 bytes long

> I now have one file that is 64 char . 3 extension.


Most modern Unix systems should be able to handle that.

[snip]


  Réponse avec citation
 
Page generated in 0,04611 seconds with 9 queries