BSD 4_3_Reno release
[unix-history] / usr / src / sbin / dump / dump.h
index 1ac441c..7b7fa12 100644 (file)
@@ -3,25 +3,24 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)dump.h      5.3 (Berkeley) %G%
+ *     @(#)dump.h      5.8 (Berkeley) 2/15/90
  */
 
 #define        NI              16
 #define MAXINOPB       (MAXBSIZE / sizeof(struct dinode))
 #define MAXNINDIR      (MAXBSIZE / sizeof(daddr_t))
 
  */
 
 #define        NI              16
 #define MAXINOPB       (MAXBSIZE / sizeof(struct dinode))
 #define MAXNINDIR      (MAXBSIZE / sizeof(daddr_t))
 
-#include <stdio.h>
-#include <ctype.h>
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/param.h>
 #include <sys/stat.h>
-#include <sys/fs.h>
-#include <sys/inode.h>
+#include <ufs/fs.h>
+#include <ufs/dinode.h>
 #include <protocols/dumprestore.h>
 #include <protocols/dumprestore.h>
-#include <sys/dir.h>
+#include <ufs/dir.h>
 #include <utmp.h>
 #include <utmp.h>
-#include <sys/time.h>
-#include <signal.h>
+#include <sys/signal.h>
 #include <fstab.h>
 #include <fstab.h>
+#include <stdio.h>
+#include <ctype.h>
 
 #define        MWORD(m,i)      (m[(unsigned)(i-1)/NBBY])
 #define        MBIT(i)         (1<<((unsigned)(i-1)%NBBY))
 
 #define        MWORD(m,i)      (m[(unsigned)(i-1)/NBBY])
 #define        MBIT(i)         (1<<((unsigned)(i-1)%NBBY))
@@ -66,6 +65,7 @@ time_t        tstart_writing; /* when started writing the first tape block */
 char   *processname;
 struct fs *sblock;     /* the file system super block */
 char   buf[MAXBSIZE];
 char   *processname;
 struct fs *sblock;     /* the file system super block */
 char   buf[MAXBSIZE];
+long   dev_bsize;
 
 char   *ctime();
 char   *prdate();
 
 char   *ctime();
 char   *prdate();
@@ -95,18 +95,13 @@ int interrupt();            /* in case operator bangs on console */
 #define        X_REWRITE       2       /* restart writing from the check point */
 #define        X_ABORT         3       /* abort all of dump; don't attempt checkpointing*/
 
 #define        X_REWRITE       2       /* restart writing from the check point */
 #define        X_ABORT         3       /* abort all of dump; don't attempt checkpointing*/
 
-#define        NINCREM "/etc/dumpdates"        /*new format incremental info*/
-#define        TEMP    "/etc/dtmp"             /*output temp file*/
-
-#define        TAPE    "/dev/rmt8"             /* default tape device */
-#define        DISK    "/dev/rrp1g"            /* default disk */
 #define        OPGRENT "operator"              /* group entry to notify */
 #define DIALUP "ttyd"                  /* prefix for dialups */
 
 struct fstab   *fstabsearch(); /* search in fs_file and fs_spec */
 
 /*
 #define        OPGRENT "operator"              /* group entry to notify */
 #define DIALUP "ttyd"                  /* prefix for dialups */
 
 struct fstab   *fstabsearch(); /* search in fs_file and fs_spec */
 
 /*
- *     The contents of the file NINCREM is maintained both on
+ *     The contents of the file _PATH_DUMPDATES is maintained both on
  *     a linked list, and then (eventually) arrayified.
  */
 struct idates {
  *     a linked list, and then (eventually) arrayified.
  */
 struct idates {