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

