Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 1995 07:48:14 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@freefall.cdrom.com
Subject:   Re: Hmmmm! New error encountered with cpio while building root.flp 
Message-ID:  <17290.806251694@time.cdrom.com>
In-Reply-To: Your message of "Thu, 20 Jul 1995 19:55:07 %2B1000." <199507200955.TAA20979@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> cpio (and tar) now check for minor numbers that would be truncated.  pax
> now uses the correct macro for minor() so its existing check works.  The
> check is only done for st_rdev, not for st_dev.  st_rdev is meaningless
> for regular files.  Unfortunately, st_rdev is apparently a garbage value
> for regular files, and cpio apparently attempts to copy it.  I'm not
> sure what tar does.  pax zeros it except for special files, at least for
> tar format.
> 
> You should be using a cpio format that preserves all minor numbers,
> e.g., `cpio -H newc'.

I can easily do this, but it still concerns me that the *default*
method for cpio is now essentially broken.  This will generate tech
support problems for us and should be fixed.  A bug is a bug!
Thanks..

					Jordan



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