X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=uit7wrDv5AB6hZHH
	ITe/NO4eeqn7TbWB/hQjS8x57kp7zsKne5UCtO7XKKzL4aBTaAUNnHpSB4Z4BO71
	7ApIFPnyHIVv2oGVPS1AgPEoh/2BcyYkTwHB1ANcFlu9zXHot/Cud0CEMD34uorI
	E97TDYVtghHrmAN4UmSU7rDAEwc=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=Ov1f0qheMlS5Io/9AHQMR9
	7aTeo=; b=dp2Gz7v/m+AleBvw36OSs0gfYWIo31QkrE9ktyIHCOSWU0fqURt9/3
	y75IXq2bfgLE5oIBlPbizG1fIm6Pdanm8HpB5FQxOFfu9K1ZssbRJSIl1B1WwBst
	RiWLtF0xi1p7GejYYzR/fVTdp+EdZvbplZs0Itlh/nLScEb25Ugf4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*i:sk:23e2256, H*f:sk:23e2256, H*MI:sk:23e2256, H*r:TLS1.0
X-HELO: ms-10.1blu.de
Subject: Re: reading from pipes fails if working directory is on a removable drive
To: cygwin@cygwin.com
References: <3429db07-294c-a42a-f131-45016ecf5af9@mihau.de> <fdc2df23-276c-6a43-b28c-6ea1fd182080@gmail.com> <b1f2ef81-10cb-2d81-995c-1d517e223045@mihau.de> <cc21c1be-e93d-a92b-065b-4ed2b4c0dc5e@gmail.com> <3f5bb698-9a4e-e9f9-beff-8ed517862f45@mihau.de> <60a8df83-76c5-ef66-60b2-818cadf24f81@gmail.com> <727dfc22-b568-bc55-7b03-8938db0cfd35@mihau.de> <23e22563-7667-6812-8784-670f00d55ea8@gmail.com>
From: mihau <mh@mihau.de>
Message-ID: <607b660c-6685-9680-ab8b-e718823384ff@mihau.de>
Date: Fri, 29 Apr 2016 17:04:27 +0200
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <23e22563-7667-6812-8784-670f00d55ea8@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Con-Id: 210367
X-Con-U: 0-mh
X-IsSubscribed: yes

On 29.04.2016 16:51, Marco Atzeri wrote:

> yes but you mentioned that the problem is only on the
> removable drive so the two versions should be different
> somewhere
> ;-)

oh yes, correct. my bad.

fixed drive:
$ strace -o pipe.strace cat test.txt | head
test

removable drive:
$ strace -o pipe.strace cat test.txt |head
       3 [main] head (4836) C:\gnu\cygwin\bin\head.exe: *** fatal error - MapViewOfFileEx '(null)'(0x618), Win32 error 6.  Terminating.
cat: write error: No space left on device
Segmentation fault

"No space left on device" is new, and, of course, wrong as there is actually plenty of free space left on this device

Michael

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

