delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/12/06:09:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 12 Dec 2011 12:08:30 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Another call for filesystem testing
Message-ID: <20111212110830.GX6602@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4EE5D000 DOT 3080509 AT bonhard DOT uklinux DOT net>
MIME-Version: 1.0
In-Reply-To: <4EE5D000.3080509@bonhard.uklinux.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Dec 12 09:57, Fergus wrote:
> XP Pro SP3
> 
> I get the following failure whether I use the current cygwin1.dll
> CYGWIN_NT-5.1 lunatick 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
> or today's test cygwin1.dll
> CYGWIN_NT-5.1 lunatick 1.7.10s(0.255/5/3) 20111212 01:22:59 i686 Cygwin
> (as not certain what you were asking).

The testcase only tests direct calls to native NT functions.  The Cygwin
version really doesn't matter.

> Assume unimportant, but I have
> ~> mount -m
> none / cygdrive binary,user 0 0
> so /cygdrive/q/ shorthands to /q/.
> 
> Just checking, where Q: is FAT32
> 
> ~> ./test-qfif.exe /q/wrk
> NtQueryFullAttributesFile(\??\Q:\wrk) by name works
> NtQueryFullAttributesFile(\??\Q:\wrk) by handle works
> ~> ./test-qfif.exe /q/wrk/Wording.txt
> NtQueryFullAttributesFile(\??\Q:\wrk\Wording.txt) by name works
> NtQueryFullAttributesFile(\??\Q:\wrk\Wording.txt) by handle works
> 
> all ok, as expected. BUT
> 
> X: is ext2, made accessible to Windows using the software at
> http://www.fs-driver.org/. There is a failure as follows:
> 
> ~> ./test-qfif.exe /x/wrk
> NtQueryFullAttributesFile(\??\X:\wrk) by name works
> NtQueryFullAttributesFile(\??\X:\wrk) by handle works
> ~> ./test-qfif.exe /x/wrk/Wording.txt
> NtQueryFullAttributesFile(\??\X:\wrk\Wording.txt) by name works
> NtQueryFullAttributesFile(\??\X:\wrk\Wording.txt) by handle failed,
> status code 0xc000003a

Thanks for the test.  YA driver which implements by handle operation
only for directories.  Oh well.

Btw., can you please provide the output from

  /usr/lib/csih/getVolInfo /x/wrk

I never saw the volume information returned by this ext2 driver yet.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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