Page 1 of 1

CommentSize NameSize both uint32

Posted: Fri Jan 20, 2012 8:28 pm
by JosDuchIt
In fileinfoblock fib_FileName was limitedw to 108 characters and fib_Comment to 80
in ExamineData NameSize and CommentSize are of type uint32, permitting large enough, impractical sizes.
Is there a standard size programmers are expected to respect ?

Re: CommentSize NameSize both uint32

Posted: Sat Jan 21, 2012 12:12 am
by tonyw
It depends on the filesystem. Most existing filesystems are limited to 108 chars for the filename and 80 chars for the comments.

Trevor put out a PDF some time ago, listing characteristics of existing filesystems, but it didn't include max comment lengths.