X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=SXI57r8JIRfyC+ZvkKYYrq/ecIBM15kFKRp6K6RPZuxm8/pRSOQ9/ A012YnJ5J+uhFkeqgTQN7z2DSVEb8r4Qalvlx56AOTGRSlyhAUjT2x3pmCDcmbX5 S0OcNskzDdL9TLDjLCLTi3azeZx08AiKtgIKPLvw3/LEl+yCAbo5bY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=JmmMtmVVzRBBoQmbu4MwYKJMwGQ=; b=cGaLU2g1rpEYmh297YwSzFrQqQKM JZKViAXcKHld4YM0uMF/IhW2zH1mY4fIswaYWCnfDzzDk8wFWo3p6x7SVNH5TNcv sheY0OVsN68Ok0LFsMA3wRces8WW8B9PHKOv6wUAQ9eQUk+Ktmj9w8xrm7wBdy9h 0EwVtx/oFnTWtMU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Thu, 28 Aug 2014 17:12:07 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Why does df fail to stat CIFS shares? Message-ID: <20140828151207.GY20700@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140627143626 DOT GA9220 AT F1S712WWS> <20140703094152 DOT GB1803 AT calimero DOT vinschen DOT de> <20140826124557 DOT GB5740 AT calimero DOT vinschen DOT de> <20140827151536 DOT GK20700 AT calimero DOT vinschen DOT de> <20140827153700 DOT GL20700 AT calimero DOT vinschen DOT de> <20140827170421 DOT GM20700 AT calimero DOT vinschen DOT 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) --B8YbZbqleQryf2nq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--