This is the mail archive of the
mailing list for the Cygwin project.
Re: Question about tar v1.28
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Douglas Coup <dacoup2 at yahoo dot com>, cygwin at cygwin dot com
- Date: Thu, 10 Mar 2016 00:54:57 +0300
- Subject: Re: Question about tar v1.28
- Authentication-results: sourceware.org; auth=none
- References: <56DF65A1 dot 6060305 at redhat dot com> <56E05762 dot 8050708 at obj-sys dot com> <160863024 dot 6759470 dot 1457548349068 dot JavaMail dot yahoo at mail dot yahoo dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Douglas Coup!
>> On 03/08/2016 08:43 AM, Douglas Coup wrote:
>>> Hello Cygwin community.
>>> I'm observing some unusual behavior with tar v1.28, running as part of
>>> 32-bit Cygwin on a Windows 10 machine.
>> I noticed this in your cygcheck output: > cygdrive prefix /cygdrive system text,noacl,posix=0,auto
>> Why are you text-mounting it? Is your current working directorysomewhere
>> under that text mount? It may be a bug in tar's handling of
>> text-mounted files (ideally, tar should be reopening everything binary
>> in spite of text mounts, but I may have missed a spot).
> Text mounting is our standard here. I will try to find out why.
Text mounting is VERY, VERY, VERY bad idea.
Never do that again.
> I changed the /etc/fstab so it specifies "binary" instead of "text", and
> with that change, the problem doesn't occur. However, the problem doesn't
> occur with "text" specified on two other systems that use tar v1.27, one
> running Windows 8.1 and the other running Windows 7. In fact I had used the
> "tar" command previously on this Windows 10 system with "text" in place
> without problems. I've done other Cygwin installs since then, so probably
> either the "tar" command itself got updated or something it depends on got
> updated, such that now this issue occurs.
The problem with text mounts is that you can never know, how a given program
would handle it. It may even not in the program's hands, as certain libraries
behind it may have their own second or even third opinion on the subject.
And when you tell the program to read N bytes, you never know, if it will stop
after reading N, or M, or N+M...
With best regards,
Thursday, March 10, 2016 00:51:33
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple