Deleted Added
full compact
dumprestore.h (167011) dumprestore.h (179275)
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 23 unchanged lines hidden (view full) ---

32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)dumprestore.h 8.2 (Berkeley) 1/21/94
39 *
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 23 unchanged lines hidden (view full) ---

32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)dumprestore.h 8.2 (Berkeley) 1/21/94
39 *
40 * $FreeBSD: head/include/protocols/dumprestore.h 167011 2007-02-26 08:15:56Z mckusick $
40 * $FreeBSD: head/include/protocols/dumprestore.h 179275 2008-05-24 05:20:46Z mckusick $
41 */
42
43#ifndef _PROTOCOLS_DUMPRESTORE_H_
44#define _PROTOCOLS_DUMPRESTORE_H_
45
46/*
47 * TP_BSIZE is the size of file blocks on the dump tapes.
48 * Note that TP_BSIZE must be a multiple of DEV_BSIZE.

--- 80 unchanged lines hidden (view full) ---

129 */
130#define TS_TAPE 1 /* dump tape header */
131#define TS_INODE 2 /* beginning of file record */
132#define TS_ADDR 4 /* continuation of file record */
133#define TS_BITS 3 /* map of inodes on tape */
134#define TS_CLRI 6 /* map of inodes deleted since last dump */
135#define TS_END 5 /* end of volume marker */
136
41 */
42
43#ifndef _PROTOCOLS_DUMPRESTORE_H_
44#define _PROTOCOLS_DUMPRESTORE_H_
45
46/*
47 * TP_BSIZE is the size of file blocks on the dump tapes.
48 * Note that TP_BSIZE must be a multiple of DEV_BSIZE.

--- 80 unchanged lines hidden (view full) ---

129 */
130#define TS_TAPE 1 /* dump tape header */
131#define TS_INODE 2 /* beginning of file record */
132#define TS_ADDR 4 /* continuation of file record */
133#define TS_BITS 3 /* map of inodes on tape */
134#define TS_CLRI 6 /* map of inodes deleted since last dump */
135#define TS_END 5 /* end of volume marker */
136
137/*
138 * flag values
139 */
140/* None at the moment */
141
142#define DUMPOUTFMT "%-32s %c %s" /* for printf */
143 /* name, level, ctime(date) */
144#define DUMPINFMT "%32s %c %[^\n]\n" /* inverse for scanf */
145
146#endif /* !_DUMPRESTORE_H_ */
137#endif /* !_DUMPRESTORE_H_ */