X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Finclude%2Fprotocols%2Fdumprestore.h;h=816a83f508a33e336ba30b9c74f92876a658b1dd;hp=54bc19071de249d14b3b3badcab05db33d68eb19;hb=cca7148b36e60b4671518602ff9a7c2d0c22a7b2;hpb=cc7747ebe3cb5b31e059155a8bb1ee4cecc67236 diff --git a/compat/include/protocols/dumprestore.h b/compat/include/protocols/dumprestore.h index 54bc190..816a83f 100644 --- a/compat/include/protocols/dumprestore.h +++ b/compat/include/protocols/dumprestore.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 2000-2002 * - * $Id: dumprestore.h,v 1.21 2004/04/13 13:03:55 stelian Exp $ + * $Id: dumprestore.h,v 1.24 2005/05/02 15:10:46 stelian Exp $ */ /* @@ -92,7 +92,7 @@ union u_spcl { int32_t c_date; /* date of this dump */ int32_t c_ddate; /* date of previous dump */ int32_t c_volume; /* dump volume number */ - daddr_t c_tapea; /* logical block of this record */ + u_int32_t c_tapea; /* logical block of this record */ dump_ino_t c_inumber; /* number of inode */ int32_t c_magic; /* magic number (see above) */ int32_t c_checksum; /* record checksum */ @@ -150,8 +150,7 @@ union u_spcl { #define EXT_REGULAR 0 #define EXT_MACOSFNDRINFO 1 #define EXT_MACOSRESFORK 2 -#define EXT_ACL 3 - +#define EXT_XATTR 3 /* * compression flags for the tapebuf header. @@ -172,4 +171,9 @@ struct tapebuf { #endif }; +/* used for EA on tape */ +#define EXT2_GOOD_OLD_INODE_SIZE 128 +#define EXT2_XATTR_MAGIC 0xEA020000 /* block EA */ +#define EXT2_XATTR_MAGIC2 0xEA020001 /* in inode EA */ + #endif /* !_DUMPRESTORE_H_ */