delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/14/09:55:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 14 Jul 2004 15:55:38 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: can not create a multi-volume archive using tar
Message-ID: <20040714135538.GT1389@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <ccmj7u$6gv$1 AT sea DOT gmane DOT org> <20040709194419 DOT GS1389 AT cygbert DOT vinschen DOT de> <cco2tg$r8r$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <cco2tg$r8r$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i

On Jul 10 10:36, a1111111 wrote:
> Corinna Vinschen wrote:
> 
> >
> >Did you try the -M or --multi-volume option of tar?
> >
> >Corinna
> >
> 
> Yes, I did.
> 
> I even tried to force "tape size" to number below the size of floppy 
> disk -- no success.
> 
> I have experience with C, so I think I could find a problem, but I think 
>  that development could do it quicker. Anyway if you point me where to 
> start, I can try.

I found the culprit.  It was age old code in Cygwin which should speed
up reading and writing on raw devices by using buffering.  This works
nicely for reading, but it doesn't work quite as well for writing.
I've removed buffered writing for raw devices entirely.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


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