DragonFly BSD
DragonFly kernel List (threaded) for 2005-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: dump image incompatibility


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Fri, 30 Dec 2005 10:17:40 +0900

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 :)



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]