Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "[ML] CygWin " Subject: Re: NTFS & cygwin inodes Message-ID: <20050611150049.GB11065@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: "[ML] CygWin " References: <42AADAEF DOT 80301 AT lapo DOT it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/