Operating System - Linux
1752785 Members
6000 Online
108789 Solutions
New Discussion юеВ

filename or directory name length restriction on HPUX 11.23

 
SOLVED
Go to solution
Kiran V.G.
Occasional Contributor

filename or directory name length restriction on HPUX 11.23

Hi,

What is the maximum length of a filename or directory name allowed on HPUX 11.23?
Is there any means by which I can set this maximum lenght? If so how?

Thanks,
- Kiran
4 REPLIES 4
Peter Godron
Honored Contributor
Solution

Re: filename or directory name length restriction on HPUX 11.23

Hi Kiran,
and welcome to the forums !

Please see earlier thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=206552

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
James R. Ferguson
Acclaimed Contributor

Re: filename or directory name length restriction on HPUX 11.23

Hi:

Examine '/usr/include/limits.h' for the values of NAME_MAX and PATH_MAX. You should see 14 and 1023 respectively. Alteration of these values is not possible.

Regards!

...JRF...
Yogeeraj_1
Honored Contributor

Re: filename or directory name length restriction on HPUX 11.23

hi Kiran,

Please run command:

getconf NAME_MAX /

replace "/" by the file system that you are trying to verify.

This will give you the maximum length of a filename that is supported.


hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Kiran V.G.
Occasional Contributor

Re: filename or directory name length restriction on HPUX 11.23

All the replies I got have answered my question correctly. Thanks for your help.

Regards,
Kiran