www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
Message-Id: | <10201161548.AA21690@clio.rice.edu> |
Subject: | Re: ls weirdness on root drive |
To: | eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) |
Date: | Wed, 16 Jan 2002 09:48:40 -0600 (CST) |
Cc: | acottrel AT ihug DOT com DOT au (Andrew Cottrell), |
djgpp-workers AT delorie DOT com (DJGPP developers) | |
In-Reply-To: | <Pine.SUN.3.91.1020116081912.2698H-100000@is> from "Eli Zaretskii" at Jan 16, 2002 08:24:20 AM |
X-Mailer: | ELM [version 2.5 PL2] |
Mime-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Is this conclusion confirmed by running just findfirst on that > directory? Actually just running ls - don't have time to write a test program. > If you only see the weird behavior in stat, it could be > something peculiar to lstat, not to findfirst. stat examines the DOS > attributes, and tries to detect volume lables, so it could err when the > attributes include the volume-label bit (it happened in the past on NT). This is an NTFS volume. It does not have a label. ls -l and ls -F work (show all normal files) ls does not work (shows all regular files and first hidden file; in alphabetical order stops listing when a system file is hit. example, shows a.a (reg) autoexec.bat(hidden) b.b(reg) bna(dir) stops and does not display boot.ini (system+hidden))
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |