Subject: | |
From: | |
Reply To: | Fairchild, Craig D |
Date: | Mon, 11 Aug 2008 07:50:58 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> 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?
> ...
There are no system enforced limits on directory depth or absolute system path name. Most interfaces won't gracefully handle pathnames longer than PATH_MAX which is 1024 characters. So pick a number (say 1024) and return an error if you ever see a path longer than that.
As an aside, even though the CI's command buffer size is much smaller than PATH_MAX, you can still use relative naming to perform any operation on any file or directory, no matter how long its absolute path name. There is a limit on the maximum length of any one directory component (255 characters in an HFS directory, 16 characters in the root, account and group directories) which is well within the CI command buffer length.
I find that the ability to have names that are longer than 8 characters, and a hierarchical directory structure that allows for a more logical structure are some compelling reasons not to be limited to the 8.8.8 MPE namespace.
Take Care,
Craig
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|