1755721 Members
3260 Online
108837 Solutions
New Discussion юеВ

Lenght of FileName

 
SOLVED
Go to solution
aam_1
Occasional Advisor

Lenght of FileName

Hi friends.
I have created some filesystem in HPUX11i, that only accept names in their files no longer that 12 characters. How I can change this property for accept more taht 12 characters in their file names?
Thanks a lot for your help.
6 REPLIES 6
S.K. Chan
Honored Contributor
Solution

Re: Lenght of FileName

If your filesystem is HFS you can use convertfs to increase the limit to 255 characters.
# man convertfs
for more details.
Josh_13
Super Advisor

Re: Lenght of FileName

have you tried using SAM to fix this? if not try that and get back to use. let us know what failures it gives. we'll be able to give better responses then.
Rodney Hills
Honored Contributor

Re: Lenght of FileName

do a "man convertfs", this describes the command to convert an HFS filesystem from shortname to longname.

-- Rod Hills
There be dragons...
Sanjay_6
Honored Contributor

Re: Lenght of FileName

Hi,

To find out the file name length support on your system, try this,

getconf NAME_MAX /

This will list the max file name length supported on the file system. To convert the file name length support you have to use the convertfs command to do so. Do a "man convertfs" to more help on the command.

Hope this helps.

Regds
Jdamian
Respected Contributor

Re: Lenght of FileName

Use the convertfs command.

Read man pages before using.
Peter Kloetgen
Esteemed Contributor

Re: Lenght of FileName

Hi,

if you use HFS- file systems, please use the

convertfs- command.

man convertfs...

please remember, hfs is not as comfortable as Vxfs, so the better choice is allmost allways Vxfs, exept for /stand, which must be in hfs.

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping