Re: PATH_MAX true POSIX size?
From: Richard B. Gilbert (rgilbert88_at_comcast.net)
Date: 01/29/05
- Next message: Barry Margolin: "Re: so_socket ?"
- Previous message: Heny Townsend: "Re: PATH_MAX true POSIX size?"
- In reply to: Heny Townsend: "Re: PATH_MAX true POSIX size?"
- Next in thread: Alex Zarutin: "Re: PATH_MAX true POSIX size?"
- Reply: Alex Zarutin: "Re: PATH_MAX true POSIX size?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Jan 2005 21:46:47 -0500
Heny Townsend wrote:
> Heiner Steven wrote:
>
>> Heny Townsend wrote:
>>
>>> I notice that PATH_MAX on Solaris is at (2**n - 1):
>>>
>>> % getconf -a | grep PATH_MAX
>>> PATH_MAX: 1023
>>> _POSIX_PATH_MAX: 255
>>
>>
>>
>> I tried this with Solaris 8, and could not verify your results:
>>
>> $ getconf -a | grep PATH_MAX
>> PATH_MAX: 1024
>> _POSIX_PATH_MAX: 255
>
>
> Interesting. My results are from Solaris 9 and are quite verifiable:
>
> % uname -a
> SunOS xxxxx 5.9 Generic_117171-13 sun4u sparc SUNW,Ultra-5_10
> % getconf -a | grep PATH_MAX
> PATH_MAX: 1023
> _POSIX_PATH_MAX: 255
>
> But hang on, let me fire up my beta of Solaris 10 from a few months
> ago ...
>
> % getconf -a | grep PATH_MAX
> PATH_MAX: 1024
> _POSIX_PATH_MAX: 255
> _XOPEN_PATH_MAX: 1024
>
> Sheesh, they're all over the map on such a basic thing! And they still
> don't know that POSIX says _POSIX_PATH_MAX *must* be 256? Someone from
> Sun please restore my faith!
>
sunburn_$ uname -a
SunOS sunburn 5.9 Generic sun4u sparc SUNW,Ultra-5_10
sunburn_$ getconf -a | grep PATH_MAX
PATH_MAX: 1024
_POSIX_PATH_MAX: 255
I upgraded Sunburn from Solaris 8 a few months ago.
sunblok_$ uname -a
SunOS sunblok 5.8 Generic_117350-12 sun4u sparc SUNW,Ultra-5_10
sunblok_$ getconf -a | grep PATH_MAX
_POSIX_PATH_MAX: 255
PATH_MAX: 1024
- Next message: Barry Margolin: "Re: so_socket ?"
- Previous message: Heny Townsend: "Re: PATH_MAX true POSIX size?"
- In reply to: Heny Townsend: "Re: PATH_MAX true POSIX size?"
- Next in thread: Alex Zarutin: "Re: PATH_MAX true POSIX size?"
- Reply: Alex Zarutin: "Re: PATH_MAX true POSIX size?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|