From 831bdbba38a09b37cb4c66b96260658e687a532a Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 1 Jan 2007 10:17:20 +0000 Subject: [PATCH] Fix -c / -H newc problem --- rescue/linux/cdrom/makeinitrd | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rescue/linux/cdrom/makeinitrd b/rescue/linux/cdrom/makeinitrd index ae939a9..f83e15e 100755 --- a/rescue/linux/cdrom/makeinitrd +++ b/rescue/linux/cdrom/makeinitrd @@ -57,8 +57,13 @@ if [ $cprtn != 0 ] ; then exit 1 fi -# This is a newer way of creating a ramfs, which we don't use -(cd roottree; find . | cpio --quiet -c -o) >root +# +# This is a newer way of creating a ramfs. Note, it +# overwrites the previous root ramdisk that we built. +# If you have an older kernel, you may want to comment +# this out. +# +(cd roottree; find . | cpio --quiet -H newc -o) >root echo "Building initial RAM disk done" -- 2.39.2