delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/14/09:33:00

X-Spam-Check-By: sourceware.org
Message-ID: <43F1EA0B.9000000@byu.net>
Date: Tue, 14 Feb 2006 07:32:43 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Re: [octave ] LOADPATH recurses only one level of subdirectories (on network drives)
References: <017b01c62daf$7696d140$0201a8c0 AT homelarrie> <17387 DOT 42303 DOT 91508 DOT 260685 AT segfault DOT lan> <01a501c62dba$18fc1b20$0201a8c0 AT homelarrie> <029001c62ebf$032b7a10$0201a8c0 AT homelarrie> <03ed01c62f9d$1aff55b0$0201a8c0 AT homelarrie> <43F1E6C1 DOT 4010104 AT byu DOT net>
In-Reply-To: <43F1E6C1.4010104@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 2/14/2006 7:18 AM:
>>>
>>>The code checks for two links (the %h) given that a subdirectory should
>>>have a "." and a ".." entry.  But for some reason, network drives
>>>created using windows within cygwin report 1.
> 
> Because it is too expensive for cygwin to report an accurate link count
> (stat() of the remote dir would effectively have to stat every file in
> that dir to see how many subdirectories there were, which would be quite
> expensive over the network).

Following up on myself, more details about POSIX requirements on directory
link counts, and the implications to programs trying to optimize based on
link counts, can be found in this thread of the Austin group mailing list:
https://www.opengroup.org/sophocles/show_archive.tpl?source=L&listname=austin-group-l&pagesize=10&first=1&searchstring=link+count&zone=F

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD8eoL84KuGfSFAYARAvfEAJ9AYm3XZX+ufUO+OwQVMZEhY7WhwQCgn0ye
XcAInc+REW0G4CqWar4Cldw=
=hJKm
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019