From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22516 invoked by alias); 28 Aug 2014 15:12:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22338 invoked by uid 89); 28 Aug 2014 15:12:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Aug 2014 15:12:10 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id CAED88E0789; Thu, 28 Aug 2014 17:12:07 +0200 (CEST) Date: Thu, 28 Aug 2014 15:12:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Why does df fail to stat CIFS shares? Message-ID: <20140828151207.GY20700@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20140627143626.GA9220@F1S712WWS> <20140703094152.GB1803@calimero.vinschen.de> <20140826124557.GB5740@calimero.vinschen.de> <20140827151536.GK20700@calimero.vinschen.de> <20140827153700.GL20700@calimero.vinschen.de> <20140827170421.GM20700@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B8YbZbqleQryf2nq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-08/txt/msg00557.txt.bz2 --B8YbZbqleQryf2nq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1380 On Aug 28 14:58, Achim Gratz wrote: > Corinna Vinschen cygwin.com> writes: > > > > [...] >=20 > The patch with the fallback to FileFsSizeInformation works as expected. >=20 > > > > Btw., one other hare-brained idea would be if the Netapp FS has a > > > > somewhat different idea of the size of FILE_FS_FULL_SIZE_INFORMATIO= N, > > > > maybe due to a misunderstanding in alignment. What you could try is > > > > to make full_fsi a pointer: >=20 > The FileFsFullSizeInformation path still fails with the same error code e= ven > with these changes (I've added a few debug_printf to show the results even > in the case of success): >=20 > 31 3473313 [main] df 28752 statvfs: (/home/gratz, 0x28A864), > file_attributes 48 > 1186 3474499 [main] df 28752 fhandler_disk_file::fstatvfs: 0xC000000D =3D > NtQueryVolumeInformationFile(\??\H:\GNU, FileFsFullSizeInformation) > 479 3474978 [main] df 28752 fhandler_disk_file::fstatvfs: 0x0 =3D > NtQueryVolumeInformationFile(\??\H:\GNU, FileFsSizeInformation) > 1709 3476687 [main] df 28752 fhandler_disk_file::fstatvfs: 0 =3D > fstatvfs(/home/gratz, 0x28A864) > 34 3476721 [main] df 28752 statvfs: 0 =3D statvfs(/home/gratz,0x28A864) #$%@ netapp #@$% Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --B8YbZbqleQryf2nq Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT/0bHAAoJEPU2Bp2uRE+grCoP/2g9Y7dCdPnBEupBCqCvBZCT QozylUrB38GOfRg28ivKM2DZooYGy8lM2XG16CDqd+Koo3094DWXR1yApJC1p4Wb 6xt9TlUPhepIDxkpZe7/Bzr7BACHe7szM75Lu6ourr3nM5NcrlIBj6GtZD2d5Rf8 Ha7nlOnVsy8Xs4/TWjGmR1EclHdcXMEPk982IZXTjMCyq547zzv53BNpEkbjfN6u iSxcl+7G3feDgAj0rE1fcg7EK0qDQKwBgbOQkEF3V5giR7xxh57WCC4JcJNt//b7 EBmdork50csOiCpNZtnWnQAXxAwEKsf3GjgWcSmrUHBTKxGxi8QnEFcX3s2nephu dWiRVEic2x3AXHlwan1IVA027kzO7epN2kQQ7MwZPns0zL7Aoxrx3nxcpN6eVtIe KzyEIQK3vNF+JV7yf6A/nJCxBU7MFkwhg5/urU1BVPKFJuoAallQgV3l7C397Cq1 M4TN4Jur62KeGOxtNe7WPXOanps9XcaEV0UFa59DP7wpW0JplyAfLF4bnEB8NrqH ZdnyTwz/2zpmxGZ424Gsqg7m93Yi8Im2OmfqRWZxY19uSs8fDG3OQJxyll8t6ybY jhzUCKU839tJVe/cGEExH8iN922Id9FrgmFBBFWzv/wOJESo8hjqfDzTXtgv/g5N FSx6oVr5/HaUE4FG/7U6 =H8tb -----END PGP SIGNATURE----- --B8YbZbqleQryf2nq--