Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximum length filename AIX 4.3*

Status
Not open for further replies.

Xitron

MIS
Aug 12, 2002
32
0
0
US
Can anyone tell me the maximum length allowed for a filename in AIX 4.3*? Also, does this maximum length include the directory-names leading to the file? In other words:

================================================
filename.fil is 12 characters long
/route/to/filename.fil is 22 characters long
================================================

So does the maximum filename length limit the first or the second example. If the first, what is the limit on the second?

If anyone has a URL describing the limitations, I'd appreciate it if you could post it. I've done google and teoma searches, as well as digging around on IBM's site. Nada.

Thanks much,

Unca Xitron
 
Hello friend.

Max length of the filenames is 255.
File= directory or file

 
Thanks, gifo!

Can you clarify something for me, though? When you say "File= directory or file", what exactly do you mean?

/usr/local/apache/conf/httpd.conf is 33 characters long

but

httpd.conf is only 10 characters long

Which is the 255 character limitation? Are you saying that you have a total of 255 characters to name the entire path and filename, as in the /usr/local/apache/conf/httpd.conf example above, or does the 255 character limitation apply only to the httpd.conf portion?

Sorry to repeat the question, but I need to be certain I understand the limitation.

Thanks!

Unca Xitron
 
Hello.

255 characters Limit applies for the name of the file not for its path.

/usr/local/apache/conf/httpd.conf

in your sample, 255 limit applies for "httpd.conf" only.

this help you?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top