From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4990 invoked from network); 29 Mar 2004 23:12:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 29 Mar 2004 23:12:16 -0000 Received: (qmail 17487 invoked by alias); 29 Mar 2004 23:12:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7298 Received: (qmail 17448 invoked from network); 29 Mar 2004 23:12:01 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 29 Mar 2004 23:12:01 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 29 Mar 2004 23:12:1 -0000 Received: (qmail 1578 invoked from network); 29 Mar 2004 23:12:01 -0000 Received: from sccmmhc02.asp.att.net (204.127.203.184) by a.mx.sunsite.dk with SMTP; 29 Mar 2004 23:11:59 -0000 Received: from louisville.edu (12-220-223-80.client.insightbb.com[12.220.223.80]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20040329231131mm2003kchre>; Mon, 29 Mar 2004 23:11:31 +0000 Date: Mon, 29 Mar 2004 18:11:29 -0500 Subject: Re: Globbing for Empty Directories? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Aaron Davies To: zsh-users@sunsite.dk Content-Transfer-Encoding: 7bit In-Reply-To: <20040329132800.GA7384@DervishD> Message-Id: <690CA8D0-81D6-11D8-913F-000502631FBD@louisville.edu> X-Mailer: Apple Mail (2.553) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: *** X-Spam-Status: No, hits=3.4 required=6.0 tests=FROM_ENDS_IN_NUMS, MAILTO_TO_SPAM_ADDR,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 3.4 On Monday, March 29, 2004, at 08:28 AM, DervishD wrote: > Aaron Davies dixit: >> Adding any subdirectories or files to it seems to increase the number >> of links it has. > > Not under Linux, at least, although it may depend on the > filesystem type. For ext3, only subdirs increase the number of links > of a directory. > >> Or is this hard-link policy not true on all systems? > > I have not tested in many systems, but Linux don't do it, and > I've not found any standard that require files to be links on the > directory. If you find any, please tell me to report the current > behaviour as a bug to Linux kernel developers, but looking at > findutils sources (that being GNU are intended to be very portable), > you can see the following: I'm on OS X, so it may be a peculiarity of HFS+. -- __ __ / ) / ) /--/ __. __ ________ / / __. , __o _ _ / (_(_/|_/ (_(_) / / <_ /__/_(_/|_\/ <__