delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/11/08:37:23

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
Message-ID: <42AADAEF.80301@lapo.it>
Date: Sat, 11 Jun 2005 14:37:03 +0200
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.6.0.104
MIME-Version: 1.0
To: "[ML] CygWin " <cygwin AT cygwin DOT com>
Subject: NTFS & cygwin inodes

--------------enig7EA2ADDA5701135FE737FD3C
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

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?
Was it somewhen solved altogether (and, thus, wuold be nice writing to
mkisofs authors to warn them to change the "man" page)?

BTW: I also found an interesting program called "Duplicate File Linker"
that simply hardlinks (on NTFS, of course) any file found with same
content, which seems a sensible thing to do to me, if I want to cerate
such an ISO image (and files aer not already hardlinked).
In case that option has really problems still on cygwin, do anyone knows
of a similiar program available on freebsd or linux? (that I could use
to produce the ISO itself)

Thanks,
  Lapo =)

--
Lapo Luchini
lapo AT lapo DOT it (OpenPGP & X.509)
www.lapo.it (ICQ UIN: 529796)

--------------enig7EA2ADDA5701135FE737FD3C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJCqtr1AAoJELBiMTth2oCDVrsP/218TEj7N6DAqqg0CyfPsN4y
VsTjRExokUvAgk8F+q/N6wJPLJmDwrrjxWty9mDzOJz88kP/z7sljNPeIqce0V5i
rE8jo4y+Eih4mYBdmlYqeMrWo8LSuLvkc4m5cDN/jSMUR/wSj4foe7AlDHSXDs4i
Yo5ScDAjayA1JGWZfXMYpbcZR1RSBdZOdqBnpljzVJg5VycDy+ly5h1Adkk0ptSQ
9eil1nivT09tGgF8jS3PTl3rsbB0vdLofvP5gLIy5sqdnR1YYuPVt98jBAkWkdVs
CJQ6JTQxsweMrcN2h6PSeXbpfv2KhpTFPnrDkzOPVgfAQQqD5FJNVr47lLK4Jc0g
345bpIwrHRnV/t+VSo2YGyk3GKYgfkNyp9K+Q3il8L3LzaOEEXRrJILdGrWGVaH/
O4FpoGq7nYwOgwcv9xY9W19sltNb0Dhj38CIbRI9gdnxsnDzjpxYcjdVXNVXN0yJ
Wvg8Xesqc9asA3DlcKjtGcG3VpCQtogA2mvSkQR9sz3chBLlQu133xBa/QcN4UlV
bm8+MitqDPtqtfQZjsmLIvGdqgYbSw59GshjoCC0ixS71mHsLTQAFUS7a6Vgp+Qg
EIYWSNc19hK4Nx5Idgc9Z6m6rSmlVJU96I7+o8PMle/clBu6i461ETwSwbGQLKku
3uuI4V4BX1TXu9TDSQLo
=sV2X
-----END PGP SIGNATURE-----

--------------enig7EA2ADDA5701135FE737FD3C--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019