Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: ruffneck on February 08, 2003, 10:03:24 PM
-
i have forgot how long can filename be in amigaOS... can anybody refresh my mind:)
-
108?
-
http://www.gregdonner.org/os35faq/diskfileoperation.html
Skyppi
-
@ Skippy
Who is your avatar? And where you once the landlord at The Kings Arms pub? ;-) :pint::hammer:
PS: I think the limit was 12 characters.
-
Larisa Oleynik.
No, I have never been a Landlord of a pub, I only drink in them.
Skippy
-
Theoretical max is 108, but as standard it is set to 30. I'm stuck at a lousy 25 with PFS2, anyone knows if this can be changed as with PFS3?
-
file/dir name limit is 107 chars (set by FileInfoBlock fib_FileName field length which is 108. However the last char is the terminating null char, thus 107).
PFS3 can have upto 107 char file/dir names.
You can either use pfsformat FILENAMESIZE=FNSIZE/K/N option at format time, or use setfnsize command to grow the size on the fly. The length can only be grown, not shrinken (unless, of course, you reformat).
[edit: typofix(tm)]
-
Larisa Oleynik.
AKA - Alex Mack of 'The Secret World of Alex Mack'.
-
OT:Things clicked when I found a site that mentioned she was on Third Rock From The Sun. She played Tommy's girlfriend, I think? Been in quite a few movies I've never seen. Genuinely worndered who the hell she was.
-
@ Skippy
Actually the landlords name was generally shortend to Skip, and guess what it was cos he came from OZ. I think he's gone back there now, he is an Ex-landlord (retired).
-
ruffneck realized:
i have forgot how long can filename be in amigaOS... can anybody refresh my mind:)
;-) It depends on which version of Workbench you're using. WB3.1 and under use only 30 or 32 characters, but WB 3.5 and 3.9 permit a little over 100 characters.
To determine the exact number, try creating a drawer with the file name 12345678901234567890123... (and so on.) The OS will chop the excess character off the end.