projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3_Reno release
[unix-history]
/
usr
/
src
/
sbin
/
dump
/
dump.h
diff --git
a/usr/src/sbin/dump/dump.h
b/usr/src/sbin/dump/dump.h
index
2759ef7
..
7b7fa12
100644
(file)
--- a/
usr/src/sbin/dump/dump.h
+++ b/
usr/src/sbin/dump/dump.h
@@
-1,21
+1,26
@@
-/* dump.h 1.12 83/07/01 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)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 <
sy
s/fs.h>
-#include <
sys/
inode.h>
-#include <
dumprestor
.h>
-#include <
sy
s/dir.h>
+#include <
uf
s/fs.h>
+#include <
ufs/d
inode.h>
+#include <
protocols/dumprestore
.h>
+#include <
uf
s/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))
@@
-60,12
+65,14
@@
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();
long atol();
int mark();
int add();
char *ctime();
char *prdate();
long atol();
int mark();
int add();
+int dirdump();
int dump();
int tapsrec();
int dmpspc();
int dump();
int tapsrec();
int dmpspc();
@@
-84,22
+91,17
@@
int interrupt(); /* in case operator bangs on console */
/*
* Exit status codes
*/
/*
* Exit status codes
*/
-#define X_FINOK
1
/* normal exit */
+#define X_FINOK
0
/* normal exit */
#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 {