]> git.wh0rd.org - dump.git/blobdiff - compat/include/protocols/dumprestore.h
Added EA/ACL support in dump and restore.
[dump.git] / compat / include / protocols / dumprestore.h
index 54bc19071de249d14b3b3badcab05db33d68eb19..816a83f508a33e336ba30b9c74f92876a658b1dd 100644 (file)
@@ -5,7 +5,7 @@
  *     Stelian Pop <stelian@popies.net>, 1999-2000
  *     Stelian Pop <stelian@popies.net> - AlcĂ´ve <www.alcove.com>, 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_ */