X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 7 Jul 2006 23:57:52 -0400 From: "Lev Bishop" To: cygwin AT cygwin DOT com Subject: Re: Using du.exe to calculate disk usage on a Microsoft cluster server In-Reply-To: <44AECD02.2090306@tlinx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00ec01c6a1dd$ab40c1b0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <44AECD02 DOT 2090306 AT tlinx DOT org> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On 7/7/06, Linda Walsh wrote: > It is quite trivial. He's prepending either "S:/" or > "/cygdrive/s" to an existing pathname. The existing pathname can be at the > limit (~256 bytes). Adding either prefix, above, the pathlen becomes 259 ...which is why MAX_PATH on windows is 260, to allow for these extra 3 chars... > Another easy way: cd to directory "/averylongdirnamethathas200chars" > you can create a file in that directory of "maxchars", No, you can't. At least, you shouldn't be able to. The attempt to create this file is supposed to fail because the limit is for the path length as a whole. -- 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/