delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/03/19/10:35:49

Message-Id: <m0tz3O9-000GPWC@gwar.ardi.com>
Date: Tue, 19 Mar 96 08:31 MST
From: mat AT ardi DOT com (Mat Hostetter)
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: `stat' fails to detect nonexistent files under WinNT
In-Reply-To: <Pine.SUN.3.91.960319170939.20848M-100000@is>
References: <m0tykiM-000GPYC AT gwar DOT ardi DOT com>
<Pine DOT SUN DOT 3 DOT 91 DOT 960319170939 DOT 20848M-100000 AT is>

>>>>> "Eli" == Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes:

    Eli> Another thing that puzzles me is that `stat' thinks the file
    Eli> is on drive C: (the 2 which is printed as the first number on
    Eli> the `stat' output above is st_dev, which is drive - 'A').  Is
    Eli> that what DOS box thinks about that NTFS drive?  If not,
    Eli> please try to invoke the program with an explicit drive
    Eli> letter in the pathname, and see if that makes a difference.

In my case it's not an NTFS drive; it's on C:, which is a normal FAT
volume.  My NTFS volume is E: (I think).  So given Kenji's report and
my report, stat appears to fail on both FAT and NTFS under NT.

-Mat

- Raw text -


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