From owner-freebsd-stable Tue Mar 23 5:56: 7 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58]) by hub.freebsd.org (Postfix) with ESMTP id 25D6514D41 for ; Tue, 23 Mar 1999 05:55:39 -0800 (PST) (envelope-from Dom.Mitchell@palmerharvey.co.uk) Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Tue, 23 Mar 1999 13:55:28 +0000 Received: from voodoo.pandhm.co.uk ([10.100.35.12]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id GZL8KDAM; Tue, 23 Mar 1999 13:48:54 -0000 Received: from dom by voodoo.pandhm.co.uk with local (Exim 2.10 #1) id 10PRhF-0000JY-00; Tue, 23 Mar 1999 13:58:21 +0000 To: Jason McNew Cc: stable@freebsd.org Subject: Re: Perl File::Find problem X-Mailer: nmh-1.0 X-Colour: Green Organization: Palmer & Harvey McLane In-Reply-To: Jason McNew's message of "Tue, 23 Mar 1999 06:58:01 CST" <36F78FD9.9143B702@clearsail.net> Date: Tue, 23 Mar 1999 13:58:21 +0000 From: Dom Mitchell Message-Id: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 23 March 1999, Jason McNew proclaimed: > Yes, that's it. lstat is returing 1 as the nlink count any directory, and the > module uses $subdirs = $nlink - 2 then thinks there are no subdirs because > $subdirs = -1. > The fix is to define $File::Find::dont_use_nlink as the pod suggests if your > using AFS. I have no idea what AFS is, but defining that works. > I should probably notify the perl people though. Thanks for the tip. :) AFS is the Andrew File System. Originally developed at CMU, it's now being sold by TransArc. It was designed as a wide-area filesystem with much better performance than NFS. Coda is a free follow-on, which is available for modern FreeBSD systems. Have a look at http://www.coda.cs.cmu.edu/ (I think). -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator "Anybody who can paint a fence Tinky-Winky purple is alright in my book." -- LLB -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message