delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Sun, 26 May 2002 08:57:05 +0100 |
From: | "Jim.George" <jim DOT george AT blueyonder DOT co DOT uk> |
X-X-Sender: | Administrator AT gateway DOT GEORGE DOT CO DOT UK |
Reply-To: | jim DOT george AT blueyonder DOT co DOT uk |
To: | "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: Strange behaviour of ls listing of directories |
In-Reply-To: | <kv661dx0pq.fsf@vzell.de.oracle.com> |
Message-ID: | <Pine.CYG.4.44.0205260855570.1876-100000@gateway.GEORGE.CO.UK> |
MIME-Version: | 1.0 |
On Fri, 24 May 2002, Dr. Volker Zell wrote: > Hi > > I just recently discovered the following behaviour of ls: > When I type in ls in the same directory a couple of times, sometimes the first ls call shows > some of the directories with 0 bytes and in the next calls with an actual byte number as you > can see below. > > Anybody else seeing this ? > This is the same on NT or W2K, with netsec enabled ot ntea enabled. > <snip> > drwxr-xr-x 4 vzell admin 0 Jun 13 2001 xircom/ <-- 0 Bytes even so there are files in the directory > drwxr-xr-x 2 vzell admin 4096 Jun 4 2001 bin/ <-- xxx Bytes > drwxr-xr-x 3 vzell admin 0 Dec 29 2000 RECYCLER/ > drwxr-xr-x 9 vzell admin 4096 Nov 29 2000 MSOffice/ > -r--r--r-- 1 vzell admin 26816 Jun 28 2000 NTDETECT.COM > -r--r--r-- 1 vzell admin 158160 Jun 28 2000 ntldr > -r--r--r-- 1 vzell admin 289 Jun 28 2000 boot.ini > drwxr-xr-x 2 vzell admin 0 Jun 28 2000 RECYCLED/ > -rwxr-xr-x 1 vzell admin 0 Jun 27 2000 AUTOEXEC.BAT* > -rw-r--r-- 1 vzell admin 0 Jun 27 2000 CONFIG.SYS > -r--r--r-- 1 vzell admin 0 Jun 27 2000 IO.SYS > -r--r--r-- 1 vzell admin 0 Jun 27 2000 MSDOS.SYS > > Ciao > Volker > Do you get the same behaviour with 'ls -lat'? I got the same as yourself with the --show-control-chars but not with ls -lat. Jim -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |