delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/21/08:43:36

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=dR78c3g4/Guj441OjVsDDlY+hNi/OpxzR6dzIp4AobLaXgrIPn+nI
HiNkEdJu1H7NWdpMRXbR2/VzFmsYK0IwPD6nhomQ9Tbmnk0YVvcWMEKrieHRyPQb
e4jcsL6Y+onzkUSIrmAPrwOcY4OOCyWRnK4a2s/U4WA+8VG4YStt5Y=
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=+1HDTg0DK9y/5YejGD0aETu4bqE=; b=loU7sSf5hPTbW0Q4otpIor1iJA4i
w2xNhK73THNj+URNNoYwbnK3vK07rsGhp8zoKMQzjywkk2wKSb35GWhCBbJ1lK3X
Z7bpA4E8KYacHxx4PKHR4iFsYshrwXRgJTabQKqxJPhCrNz4U+qRKL7qmEZEbapH
ALnW4qins11dh0k=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
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
Date: Wed, 21 Oct 2015 14:43:13 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Error accessing mapped drive >2TB?
Message-ID: <20151021124313.GA15262@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CA+2x6-L_pqdN6PHE0c15hcmrmB66Z75Hz95cH+dbcn4yXuVZNg AT mail DOT gmail DOT com> <712A87EA-64C7-4033-BE7F-39C8C8D527EB AT etr-usa DOT com> <20151021100328 DOT GL5319 AT calimero DOT vinschen DOT de> <1598393077 DOT 20151021153356 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <1598393077.20151021153356@yandex.ru>
User-Agent: Mutt/1.5.23 (2014-03-12)

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

-----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--

- Raw text -


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