X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=BAYES_00,SARE_ADLTSUB2 X-Spam-Check-By: sourceware.org Message-Id: <593BD113-ADB9-45E8-9E3B-5708B0732AC2@free.fr> From: Denis Excoffier To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: enlarge MAXSYMLINKS Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 3 Mar 2009 20:30:46 +0100 Cc: Denis Excoffier Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello, I use Cygwin 1.5.25-15 (with all packages installed), especially i'm currently creating symbolic links. My filesystem is NTFS, my symlinks are created as "Windows shortcuts" (see winsymlinks in the CYGWIN environment variable, though i don't use the variable, but this is the default). I've created 36 links: 0->1, 1->2 ... 8->9, 9->a, a->b, b->c, c->d, up to y->z and z->/etc/passwd (a plain file). Now, `wc q` works as expected (i.e. counts the number of lines/words/ chars in /etc/passwd), but `wc p` produces "Too many levels of symbolic links". Well it may be that MAXSYMLINKS is defined to be 10 in cygwin kernel. But, cygwin-1.5.25-15/newlib/libc/sys/rtems/sys/params.h indicates "#define MAXSYMLINKS 32", a reasonable value. Where does this value "10" come from? Is there any possibility to enlarge the value of 10 in order to reach e.g. 32 as expected? The value 10 is definitely too low for me, a value 20 (like in Solaris) would be better. Thank in advance for your help, Denis Excoffier. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/