delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/11/11:00:48

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: Sat, 11 Jun 2005 17:00:49 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: "[ML] CygWin " <cygwin AT cygwin DOT com>
Subject: Re: NTFS & cygwin inodes
Message-ID: <20050611150049.GB11065@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: "[ML] CygWin " <cygwin AT cygwin DOT com>
References: <42AADAEF DOT 80301 AT lapo DOT it>
Mime-Version: 1.0
In-Reply-To: <42AADAEF.80301@lapo.it>
User-Agent: Mutt/1.4.2i

On Jun 11 14:37, Lapo Luchini wrote:
> I want to produce an ISO image with mkisofs that contains LOTS of
> duplicated files.
> Unfortunately the "man" seems to state that option -cache-inodes is not
> usable on Cygwin (?_?)
> 
> -no-cache-inodes
>       Do  not  cache  inode and device numbers.  This option is needed
>       whenever a filesystem does not have unique inode numbers. It  is
>       the  default  on Cygwin.  As the Microsoft operating system that
>       runs below Cygwin is not  POSIX  compliant,  it  does  not  have
>       unique  inode numbers.  Cygwin creates fake inode numbers from a
>       hash algorithm that is not 100% correct.  If mkisofs would cache
>       inodes on Cygwin, it would believe that some files are identical
>       although they are not. The result in this case  are  files  that
>       contain  the  wrong content if a significant amount of different
>       files (> ~5000) is in inside the tree that is  to  be  archived.
>       This  does not happen when the -no-cache-inodes is used, but the
>       disadvantage is that mkisofs cannot detect hardlinks anymore and
>       the resulting CD image may be larger than expected.
> 
> Do they maybe just put is as a warning when the file system used is FAT?
> Is the problem there also for NTFS?

Good question.  It shouldn't, but I wouldn't give any gurantee.
However, mkisofs doesn't know the type of the underlying FS, so
it just plays safe.  The hash algorithm isn't 100% correct?  Well...
I'm wondering how they mean it and why.  Any hint would be nice.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-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