Re: Increasing MAXSYMLINKS from 32
Re: Increasing MAXSYMLINKS from 32
- Subject: Re: Increasing MAXSYMLINKS from 32
- From: Justin Walker <email@hidden>
- Date: Sat, 4 Jun 2005 10:20:25 -0700
On Jun 4, 2005, at 0:35, Andre Pang wrote:
I have a need for changing the value of MAXSYMLINKS in sys/param.h
(the maximum depth for traversing symbolic links) from 32 to something
higher. POSIX & limits.h apparently defines the maximum level of
symbolic links to be 255. So, I have a couple of questions about
this:
* Is there any harm done in simply editing sys/param.h from 32 to
something higher such as 64, 128 or 256?
I'm not sure what you mean by 'harm'. Editing param.h is, in general,
going to cause conflicts between newly-compiled programs, and those
previously compiled and the kernel.
* Given that this maximum-symlink-depth value appears to be a
constant defined in an included kernel-related header file, is there
anyway to increase this symlink limit to something higher in
already-compiled programs? (Perhaps even via a kernel extension.)
No; and even if there were, you would have to deal with the dozens of
frameworks and libraries as well.
* If there is no way to increase the symlink limit for
already-compiled programs, would it be possible to raise the limit to
64/128/256 in future versions of Darwin and Mac OS X? Making this a
sysctl would be even nicer ...
If you think it makes sense, then by all means file an enhancement
request/bug report (<http://bugreporter.apple.com>). Be aware that
this list is not a channel to Apple, official or otherwise. Apple folk
who participate in list conversations do so on their own, and can't do
much based on list traffic. It's the bug list that drives the setting
of priorities internally.
What is your goal in this? Why isn't the current value sufficient?
(Sorry if this post is to the wrong list; I thought darwin-kernel was
probably the best choice. Please feel free to move to the post to
another list if you feel it's more appropriate.)
This is the right list.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on a mailing list?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden