HP3000-L Archives

August 2008, Week 2

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:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Mon, 11 Aug 2008 09:32:40 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (71 lines)
Isn't this question moot if you use symlinks? 


regards,
 
Robert W.Mills
Business Systems Development Analyst
Group Information Systems & Technology
Pinnacle Entertainment
DDI: +44 (0)20 8309 3604 


-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Brian Donaldson
Sent: 11 August 2008 04:57
To: [log in to unmask]
Subject: [HP3000-L] The POSiX Animal On An MPE Box

These past few days has seen me working on a project to process files in
the HFS POSiX directory.

My 917LX is running under 6.5 PP3.

I would like to know what the maximum size a POSiX directory structure
can be?

Example: "dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir_n/fname_here" 

According to the AIF manual a pathname can be up to a max of 1020 bytes.

Pascal definition:

   path_name_type         = record
                              case boolean of
                                true : (path_str: string[1024]);
                                false: (path_rec:
                                  record
                                    length  : integer;
                                    pathname: packed array
                                              [1..1020] of char;
                                  end);
                            end;


I discovered that if 1020 bytes is the max then there would be problems
with different MPE intrinsics such as the COMMAND intrinsic which only
allows a max of 510 bytes plus the one char for the carriage control.
Any larger than the 510 bytes and the intrinsic returns an error code.
The HPCICOMMAND intrinsic allows up to <= 279 bytes for the command
string.

So if the HFS pathname is longer than 510 bytes the file cannot be
processed.
Everything in the dir structure beyond the 510 bytes would be truncated.

I told the user to make life very simple and put the files in the MPE
directory under the MPEiX file structure, but they insist the files are
to be stored in the POSiX directory.

Any thoughts, discourses, suggestions etc. are welcome as always.

TIA,
Brian.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2