Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2005 08:06:03 -0600
From:      Scott Long <scottl@samsco.org>
To:        Gregg Cooper <bsdcrank@squbes.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Duplicate inodes in 5.4-RELEASE-i386-disc1.iso
Message-ID:  <42BAC1CB.30402@samsco.org>
In-Reply-To: <42BAC058.3040603@squbes.com>
References:  <42BAC058.3040603@squbes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42BAC1CB.30402>