Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
73 user(s) are online (71 user(s) are browsing Forums)

Members: 0
Guests: 73

more...

Support us!

Headlines

 
  Register To Post  

32-letter volume name and asl requesters
Quite a regular
Quite a regular


See User information
I have a CD with volumename containing 32 characters, When I try to load files from it usng asl requesters, an AmigaDOS message pops up asking to insert the volume named with the first 31 letters of the actual volume name of the cd.
Looks like a bug to me.

Can anyone confirm?

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: 32-letter volume name and asl requesters
Just popping in
Just popping in


See User information
@Jack

Its a hardcoded limit in dos.library:
#define MAX_DEVICENAME_LEN 31

You cant relabel FFS volumes to a too long name,
but you can relabel RAM: to a too long name,
then e.g.

Relabel RAM: 12345678901234567890123456789012
CD 12345678901234567890123456789012:

will fail.

Go to top
Re: 32-letter volume name and asl requesters
Quite a regular
Quite a regular


See User information
@TetiSoft

So 32-letters labeled CDs are doomed to assign workaround...
Is it going to change? (the limit)


Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: 32-letter volume name and asl requesters
Just can't stay away
Just can't stay away


See User information
@Jack

Probably easier to get CDFS to truncate the volume name before it mounts it.

For now just use the device name

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: 32-letter volume name and asl requesters
Just can't stay away
Just can't stay away


See User information
@TetiSoft

Quote:
You cant relabel FFS volumes to a too long name,
That's because the "LongName" changes aren't used for the root directory, the root block still has the old 30 char limit even on DOS\6 and DOS\7 partitions.

Go to top
Re: 32-letter volume name and asl requesters
Home away from home
Home away from home


See User information
@joerg

Will this change in the near future?

Go to top
Re: 32-letter volume name and asl requesters
Just can't stay away
Just can't stay away


See User information
@Antique

Quote:
Will this change in the near future?
It's very unlikely that FFS2 will support longer volume names, but I could change SFS to support volume names of up to 255 chars.

Go to top
Re: 32-letter volume name and asl requesters
Just popping in
Just popping in


See User information
@joerg

Quote:

joerg wrote:
@Antique

Quote:
Will this change in the near future?
It's very unlikely that FFS2 will support longer volume names, but I could change SFS to support volume names of up to 255 chars.


And filename? That will be great, because here I have too much files with name >200 characters I must manually rename...

Bye,
TMTisFree

"Never ascribe to malice that which is adequately explained by incompetence." (Napol?on Bonaparte)
"I would love to change the world, but they won?t give me the source code." (Unknown)
Go to top
Re: 32-letter volume name and asl requesters
Just can't stay away
Just can't stay away


See User information
@TMTisFree

Quote:
And filename? That will be great, because here I have too much files with name >200 characters I must manually rename...
I could remove the filename length limit as well (the limit in SFS is over 400 chars, it has fit into a single block together with some other data, but as long as we don't have a new file system API it's limited by the BSTRs passed from dos to the file systems to 255 chars anyway), but if I do that all software still using the AmigaOS 1.x directory scanning functions (Examine()/ExNext()) instead of the AmigaOS 2.x (ExAll()) or AmigaOS4 (ExamineDir()) ones will not be able to access such files, or even crash because of using too small buffers.
At least least 95%, more likely 99%, of the AmigaOS software is still using the AmigaOS 1.x functions which are limited to 107 chars

Go to top
Re: 32-letter volume name and asl requesters
Just can't stay away
Just can't stay away


See User information
@joerg

And we don't have "ExamineDir()" in the latest available SDK so we can't start to use it. I really hope OS4 devs can release classic version of OS4 very quick so they can start creating a new SDK.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: 32-letter volume name and asl requesters
Just can't stay away
Just can't stay away


See User information
@TSK

Quote:

TSK wrote:
@joerg

And we don't have "ExamineDir()" in the latest available SDK so we can't start to use it.
But everyone can at least use the AmigaOS 2.x (ExAll()) instead of the AmigaOS 1.x (ExNext()) functions. The AmigaOS4 ExamineDir() is only required for files >= 4 GB.

Quote:
I really hope OS4 devs can release classic version of OS4 very quick so they can start creating a new SDK.
For a new SDK an AmigaOS4 port of a newer version of the binutils is required, someone else could do that as well ...

Go to top
Re: 32-letter volume name and asl requesters
Just popping in
Just popping in


See User information
@Jack

Quote:

Is it going to change? (the limit)

Colin changed it from 31 to 107.

Go to top
Re: 32-letter volume name and asl requesters
Quite a regular
Quite a regular


See User information
@TetiSoft

Quote:

Colin changed it from 31 to 107.


Which one? the one in dos.library? or FFS2?
It's iso cd filesystem here. Imho, it is up to 32 characters.


Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: 32-letter volume name and asl requesters
Just can't stay away
Just can't stay away


See User information
@Jack

Quote:
Which one? the one in dos.library? or FFS2?
dos.library

FFS2 can't be changed without making it incompatible, if that would be done tools like PartitionWizard wouldn't work anymore.

Go to top
Re: 32-letter volume name and asl requesters
Quite a regular
Quite a regular


See User information
@joerg & TetiSoft

Quote:

dos.library


Does that mean the limit is raised changed but only available to developers atm?

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: 32-letter volume name and asl requesters
Just popping in
Just popping in


See User information
@Jack

Quote:

Does that mean the limit is raised changed but only available to developers atm?

That would be an alpha test. No, its in beta test :)
Just tested it with a 100 character RAM disk volume name,
seems to work.

Go to top
Re: 32-letter volume name and asl requesters
Quite a regular
Quite a regular


See User information
@TetiSoft

Great!
Very appreciated.

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project