delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/13/16:36:08

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
Date: Thu, 13 Mar 2003 22:35:57 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-1.3.21-1, problem with sparse file creation as default
Message-ID: <20030313213557.GS27047@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3E70AD52 DOT 744 DOT D4BC055 AT localhost>
Mime-Version: 1.0
In-Reply-To: <3E70AD52.744.D4BC055@localhost>
User-Agent: Mutt/1.4i

On Thu, Mar 13, 2003 at 04:09:54PM +0100, Markus Mauhart wrote:
> I have a problem with the following new feature of cygwin-1.3.21-1
> 
> > - Create sparse files by default, when possible.  (Vaclav Haisman)
> 
> Couldnt it be made configurable, or removed ?
> 
> 
> 1) good old file manager (winfile.exe from NT4 system) does not display
> sparse files - so all newly created files (through gcc, or make,
> or "cp con 123.txt") are now invisible. (beside browsing, I didnt test real
> file operations like move/copy a folder containing some sparse files)

You're actually still using winfile?!?  This is older than dirt.  AFAIK,
winfile already collapsed on some features of NT4 SP4...
I've checked it, it's no problem to view the files in explorer under NT4. 

> 2) AFAICS its advantages are very sparse ;-) Only when extending
> a file's size the sytem (ntfs5+) automatically adds 'sparse' clusters.
> Otherwise (even when writing 10G of all zero) not a single sector
> is spared. Only programs aware of win32-sparse files profit from this
> existing file-attribute when explicitely marking a range as zero,
> but IMHO this is a micro-profit: such program can replace the following
> code ....

Nope.  All applications using seek instead of blindly writing zeros
to the file do profit.  And also this is default on modern UNIX boxes.
It's just there, transparently to apps.  This is what the change in
Cygwin provides as well.

Corinna

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

--
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