* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999-2000
+ * Stelian Pop <pop@noos.fr>, 1999-2000
+ * Stelian Pop <pop@noos.fr> - AlcĂ´ve <www.alcove.fr>, 2000
*
- * $Id: restore.h,v 1.9 2000/05/28 16:52:21 stelian Exp $
+ * $Id: restore.h,v 1.14 2001/03/20 10:02:48 stelian Exp $
*/
/*
* SUCH DAMAGE.
*/
+#include <config.h>
#include <protocols/dumprestore.h>
/*
* Flags
extern int uflag; /* unlink symlink targets */
extern int vflag; /* print out actions taken */
extern int yflag; /* always try to recover from tape errors */
+extern int zflag; /* tape is in compressed format */
/*
* Global variables
*/
extern char *dumpmap; /* map of inodes on this dump tape */
extern char *usedinomap; /* map of inodes that are in use on this fs */
-extern ino_t maxino; /* highest numbered inode in this file system */
+extern dump_ino_t maxino; /* highest numbered inode in this file system */
extern long dumpnum; /* location of the dump on this tape */
extern long volno; /* current volume being read */
extern long ntrec; /* number of TP_BSIZE records per tape block */
u_char e_namlen; /* length of this name */
char e_type; /* type of this entry, see below */
short e_flags; /* status flags, see below */
- ino_t e_ino; /* inode number in previous file sys */
+ dump_ino_t e_ino; /* inode number in previous file sys */
long e_index; /* unique index (for dumpped table) */
struct entry *e_parent; /* pointer to parent directory (..) */
struct entry *e_sibling; /* next element in this directory (.) */
*/
struct context {
char *name; /* name of file */
- ino_t ino; /* inumber of file */
+ dump_ino_t ino; /* inumber of file */
#ifdef __linux__
struct new_bsd_inode *dip; /* pointer to inode */
#else