dump image incompatibility

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Thu Dec 29 17:24:55 PST 2005


On Sun, Feb 28, 1993 at 04:54:27PM -0800, Matthew Dillon wrote:
> 
> :Hello.
> :Since the size of ino_t has changed, dump files taken on 1.2.x-RELEASE
> :(and on FreeBSD-4.x too?) won't be restored on 1.3+ anymore, because
> :it looks at a wrong place for the magic.  In fact, our restore program
> :is probably incompatible with any of dump files taken on FreeBSD boxes.
> :Is anyone working on this problem?
> 
>     Since nobody reported it until now, nobody knew there was a problem :-).
> 
>     dump/restore are supposed to be using ufs1_ino_t, which is 32 bits.
>     Do you know which structure the program is getting confused about ?

[us]_spcl defined in <protocols/dumprestore.h>.  It also has time_t and
daddr_t, which might change in the future.  Changing the definition
is probably OK except that dumps taken on -DEVELOPMENT will be unreadable.
(but -DEVELOPMENT users are expected to be able to take care of it :)





More information about the Kernel mailing list