From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40942 invoked by alias); 21 Oct 2015 12:43:16 -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 40933 invoked by uid 89); 21 Oct 2015 12:43:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no 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; Wed, 21 Oct 2015 12:43:15 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 68B57A807CB; Wed, 21 Oct 2015 14:43:13 +0200 (CEST) Date: Wed, 21 Oct 2015 12:43:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Error accessing mapped drive >2TB? Message-ID: <20151021124313.GA15262@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <712A87EA-64C7-4033-BE7F-39C8C8D527EB@etr-usa.com> <20151021100328.GL5319@calimero.vinschen.de> <1598393077.20151021153356@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <1598393077.20151021153356@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-10/txt/msg00342.txt.bz2 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1836 On Oct 21 15:33, Andrey Repin wrote: > Greetings, Corinna Vinschen! Your mailer is breaking the history, btw. Could you reconfigure so the "blah wrote:" header is preserved for each mail in the thread you still quote? Thanks. > > Probably because of the above >=20 > > symlink_info::check_reparse_point: NtFsControlFile(FSCTL_GET_REPARSE_= POINT) > > failed, 0xC0000275 >=20 > > This is in fact a weird error code in this scenario. >=20 > > Consider that symlink_info::check_reparse_point is *only* called, if the > > file to check (here "P:\") has the FILE_ATTRIBUTE_REPARSE_POINT flag > > set. So from the Windows perspective it is certainly a reparse point. >=20 > > Cygwin checks the flag to allow evaluating of reparse points as symlink= s. > > If the flag is set, it calls symlink_info::check_reparse_point which in > > turn calls >=20 > > status =3D NtFsControlFile (..., FSCTL_GET_REPARSE_POINT, ...); >=20 > > to fetch the target information the reparse point points to, in POSIX > > terms the symlink target. But *this* call returns a status of 0xC00002= 75, > > which means STATUS_NOT_A_REPARSE_POINT. And since it's totally unexpec= ted > > that NtFsControlFile fails on a reparse point, the code sets errno to E= IO. >=20 > > Hang on. >=20 > > The FILE_ATTRIBUTE_REPARSE_POINT flag is set but when calling a function > > to fetch the reparse data it's no reparse point anymore? How dumb is > > that? >=20 > That's=E2=80=A6 interesting. > Windows does not allow for reparse points to networked locations. > Symlinks all right, directory junctions no. Fine, but then the question is, why is the FILE_ATTRIBUTE_REPARSE_POINT flag set in the first place? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWJ4hhAAoJEPU2Bp2uRE+gkZIQAI1WHX3cMKZTNoGe0/uZhewX vWU840ixfjEVKcV1nf+NSr6Sb3HApWq6HA4bXaxB9mH9ZFIamio9T2+A+XGvoAyh 44l88xo91UTbZd7j7PzT0m7XUQAnQyCiMQw7PJ5brDpQfZHOh6M6jL8wIh9WABhr /02M+AOlDRXILkIBjwT95Gkp72QEvmPzE77a2JOwj2Cg2lDTLkhUNu7o+nPSkHga JCstL3R15ECtAqJISQEzb5V2IvXuBFjc+qQd4vQCNVHo9Dg390jKgJV7KWI+I/tE bBbam5qTgdrZy9MSpo7VuN4G+igD42luSB5ypmC4K/CoFjblYCgdE66gtcexhr0M dbIieJOZ4cr4snjQ1NxZ8ndq48PdWcZaHXSyIoUrDE8/HhJIUuFUM+Frkb5YM4+Z bEiiUOxnLz3uLuOvRvIAy9rS9mW+PKkJ5qjc0NS03o5kh3B9L+XNL9PFpZgOXjXk rGqji319XXS8PS95FUySFauywY+xe7PHaRE8/S1mHXsxYhFYBJ4Inx4kwVgxY4hP CID0e8+MBjwB3H9VNjDIrOFgCgldFbmGY4+MD0/PUsV2zQbBdUfsZHFqV6MeUSTi 9QTAGmyR/LiBak9SguA50GM3TBFF/kalNVyIGYU+1QoHB2ylC2wnlNoTrQ7GYNY2 oGFqbgvEK+xhppoVlYol =N7E8 -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--