HP3000-L Archives

December 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Barry Lake <[log in to unmask]>
Reply To:
Barry Lake <[log in to unmask]>
Date:
Mon, 18 Dec 2000 11:00:13 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
At 9:56 AM -0800 12/18/00, Mark Bixby wrote:
>"Jansen, Eric" wrote:
>> We are on 5.5pp7 (yes, I know it will be obsolete soon).
>>
>> Does anybody know a solution for the maximum filenamelength of 32 character
>> in POSIX?
>> Or, is this resolved on 6.0?
>
>The limit for HFS filenames contained within MPE groups
>(/ACCOUNT/GROUP/hfsfilename) or MPE accounts (/ACCOUNT/hfsfilename) is 16
>characters, not 32.
>
>But for HFS files stored in HFS directories, the filenames can be up to 255
>characters.  So you can do things like
>/ACCOUNT/GROUP/hfsdirectory/superduperreallylonghfsfilename below MPE
>groups as
>long as you use an HFS directory to store the long-named files.


While HFS object names are limited to 255 characters (unless they're
directly under root, an account or a group, in which case they're limited
to 16 characters), the overall HFS path can be as long as 1023 characters.

Beware, however, that the CI has a maximum command buffer of 511 bytes, so
you can't specify an HFS pathname greater than 511-(length of CI command).
You can get around this by doing a CHDIR to a deeply nested directory and
then use a relative HFS path rather than an absolute path. Depending upon
what you're doing, you might also be able to get around it by dropping into
the shell, in which case you get a much larger command buffer to work with
(I think it may be 8k?).


Barry Lake                              [log in to unmask]
Allegro Consultants, Inc.               www.bogus.allegro.com
(408)252-2330
--------
Attempting to reduce spam influx.
Remove ".bogus" to create valid address.

ATOM RSS1 RSS2