delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/08/09:56:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Robert Collins" <robert DOT collins AT syncretize DOT net>
To: "'David T-G'" <davidtg-cygwin AT justpickone DOT org>,
"'CygWin Users' List'" <cygwin AT cygwin DOT com>
Subject: RE: setup.exe and disk fragmentation
Date: Sat, 8 Jun 2002 23:56:16 +1000
Message-ID: <006601c20ef4$4261ccf0$0200a8c0@lifelesswks>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
In-Reply-To: <20020607171703.GG12375@justpickone.org>

Setup downloads to a temporary file, which it then renames (no file
copying at all).
Setup subsequently extracts directly to the destination file with no
temporary files at all. 

Temporary files are used for a few things:
1) package database housekeeping (making setup sort-of transactional).
2) Scheduled file replacements on reboots.

Temporary files are deleted as soon as possible.

In short: I don't know why you see this, but someone (not me) needs to
show convincing cause for this, either from source code or filemon
traces or something.

As it is, I'm going to worry about other things :}.

Rob

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of David T-G
> Sent: Saturday, 8 June 2002 3:17 AM
> To: CygWin Users' List
> Subject: Re: setup.exe and disk fragmentation
> 
> 
> Cliff, et al --
> 
> ...and then Cliff Hones said...
> % 
> % Having discovered the disk containing my Cygwin installation
> % was heavily fragmented, I tried the following experiment:
> ...
> % developing the utility.  Minimising file copying, and deleting
> % temporary files as soon as possible would help.
> 
> I don't know anything about how it works or how the tmp stuff is used
> (a build area + a quick mv, or a temp-use-delete?), but 
> perhaps allowing
> for another partition, even asking the user for one, (and taking note
> of $TMP?)  could help...
> 
> 
> HTH & HAND
> 
> :-D
> -- 
> David T-G                      * It's easier to fight for 
> one's principles
> (play) davidtg AT justpickone DOT org * than to live up to them. -- 
> fortune cookie
> (work) davidtgwork AT justpickone DOT org
> http://www.justpickone.org/davidtg/    Shpx gur 
> Pbzzhavpngvbaf Qrprapl Npg!
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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