Summary -- One kernel works, one doesn't

From: James J Dempsey (
Date: Mon Mar 11 1991 - 10:31:18 CST

Last week I posted a question about problems building a kernel. I had
one working kernel and one broken kernel which said "Truncated file".
The only difference between the two was 9 bytes and that one was built
with GNU utilities in front of system utilities in my path.

The problem turned out to be that GNU's version of cp is too smart for
Suns boot loader. GNU cp takes large blocks of zeros and turns them
into holes in the destination file to save disk space. Unfortunately,
the SunOS kernel has large blocks of zeros but can't be booted if those
zeros are turned into holes in the file.

Thanks to everyone who responded, especially:

"Casper H.S. Dik" <> * *
Hans van Staveren <> * *

who had the correct answer.


Other responders:

Kennedy Lemke <>
"Manavendra K. Thakur" <>
Gene Saunders <>
klaus u schallhorn <cnix!>

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:11 CDT