Welcome, Guest. Please login or register.

Author Topic: File name length  (Read 1499 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ruffneckTopic starter

  • Full Member
  • ***
  • Join Date: Jun 2002
  • Posts: 101
    • Show only replies by ruffneck
File name length
« on: February 08, 2003, 10:03:24 PM »
i have forgot how long can  filename be in amigaOS... can anybody  refresh my mind:)
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: File name lenght
« Reply #1 on: February 08, 2003, 10:07:15 PM »
108?
 

Offline Skippy

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 710
    • Show only replies by Skippy
Re: File name length
« Reply #2 on: February 08, 2003, 11:23:26 PM »
Squareroot of all fluffiness.
 

Offline Mike_Amiga

  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 1448
    • Show only replies by Mike_Amiga
    • http://www.mp3.com.au/forefinger
Re: File name length
« Reply #3 on: February 09, 2003, 12:19:35 AM »
@ 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.
AKA ED-209 on IRC...
 

Offline Skippy

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 710
    • Show only replies by Skippy
Re: File name length
« Reply #4 on: February 09, 2003, 12:34:43 AM »
Larisa Oleynik.

No, I have never been a Landlord of a pub, I only drink in them.

Skippy
Squareroot of all fluffiness.
 

Offline Rollo

  • Newbie
  • *
  • Join Date: Oct 2002
  • Posts: 3
    • Show only replies by Rollo
Re: File name length
« Reply #5 on: February 09, 2003, 12:54:24 AM »
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?
Quote
\\"I haven\\\'t failed, I\\\'ve found 10,000 ways that don\\\'t work.\\" - Thomas Edison (1847-1931)
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: File name length
« Reply #6 on: February 09, 2003, 01:33:03 AM »
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)]
 

Offline weirdami

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 3776
    • Show only replies by weirdami
    • Http://Bindingpolymer.com
Re: File name length
« Reply #7 on: February 09, 2003, 04:06:20 AM »
Quote
Larisa Oleynik.


AKA - Alex Mack of 'The Secret World of Alex Mack'.
----
Binding Polymer: Keeping you together since 1892.
 

Offline Mike_Amiga

  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 1448
    • Show only replies by Mike_Amiga
    • http://www.mp3.com.au/forefinger
Re: File name length
« Reply #8 on: February 09, 2003, 04:43:09 AM »
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.
AKA ED-209 on IRC...
 

Offline Mike_Amiga

  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 1448
    • Show only replies by Mike_Amiga
    • http://www.mp3.com.au/forefinger
Re: File name length
« Reply #9 on: February 09, 2003, 04:46:24 AM »
@ 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).
AKA ED-209 on IRC...
 

Offline Quixote

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2059
    • Show only replies by Quixote
Re: File name length
« Reply #10 on: February 09, 2003, 09:07:32 AM »
ruffneck realized:
Quote
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.