Change ino_t to u_int32_t for compatibility with the current dump/restore

format. Unfortunately this means that all dumps taken from the time of
the 64 bit inode changes (August 16th) will become unreadable with this
commit. To make them readable again, you can back-out this commit temporarily.
Please note, that I am not adding 64 bit inode support to the format on
purpose right now, because supporting 64 bit inodes on-disk will require
additional changes, and it is more appropriate to add such support then.
This commit is contained in:
christos 2005-09-06 17:03:59 +00:00
parent da085b10b3
commit 99c8f5662d

View File

@ -1,4 +1,4 @@
/* $NetBSD: dumprestore.h,v 1.12 2003/08/07 09:44:13 agc Exp $ */
/* $NetBSD: dumprestore.h,v 1.13 2005/09/06 17:03:59 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@ -73,7 +73,7 @@ union u_spcl {
int32_t c_old_ddate; /* date of previous dump */
int32_t c_volume; /* dump volume number */
int32_t c_old_tapea; /* logical block of this record */
ino_t c_inumber; /* number of inode */
u_int32_t c_inumber; /* number of inode */
int32_t c_magic; /* magic number (see above) */
int32_t c_checksum; /* record checksum */
union {