Duplicate inodes in 5.4-RELEASE-i386-disc1.iso

Scott Long scottl at samsco.org
Thu Jun 23 14:06:08 GMT 2005


Gregg Cooper wrote:
> While trying to make a simple customization to the latest distribution
> cd (add console="comconsole" to boot/loader.conf), the following four
> sets of cross-linked files were found (pruned output from "ls -ilR
> /cdrom"; isoinfo(8) from sysutils/cdrtools produces similar):
> 
> 15005 -r--r--r--  2 root  wheel      0 May  8 03:05 dumpdates
> 15005 -r--r--r--  2 root  wheel    142 May  8 03:05 fbtab
> 83266 -r--r--r--  2 root  wheel     0 May  8 03:01 locale
> 83266 -r--r--r--  2 root  wheel    31 May  8 03:01 mm.tmac
> 83269 -r--r--r--  2 root  wheel     0 May  8 03:01 se_locale
> 83269 -r--r--r--  2 root  wheel    97 May  8 03:01 se_ms.cov
> 99056 -r--r--r--  2 root  wheel     0 May  8 03:05 utmp
> 99056 -r--r--r--  2 root  wheel  18425 May  8 03:04 Makefile.dist
> 
> After tar'ing the cd contents over to disk, and "diff -r" uncovering the
> discrepancies in the copy (the second file of each set was now 0 bytes),
> had to manually delete and re-copy the four truncated files before
> making the desired change, and mkisofs(8) and burncd(8).
> 
> Maybe this is a one-off, or perhaps a simple change could be made to the
> release cd mastering process to avoid this in the future.
> 
> Gregg

We don't do anything special in the mastering process:  The exact 
command that is used by the release Makefile:

bootable="-b boot/cdboot -no-emul-boot"
mkisofs $bootable -r -J -V $LABEL -publisher "$publisher" -o $NAME $*

Maybe it's a bug in mkisofs?

Scott


More information about the freebsd-hackers mailing list