s/filesystem/file system/dump.h

This commit is contained in:
lukem 2001-08-14 05:44:15 +00:00
parent 974a4e79a0
commit b00117c331
3 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ffs_inode.c,v 1.5 2001/05/28 00:41:14 lukem Exp $ */ /* $NetBSD: ffs_inode.c,v 1.6 2001/08/14 05:44:15 lukem Exp $ */
/*- /*-
* Copyright (c) 1980, 1991, 1993, 1994 * Copyright (c) 1980, 1991, 1993, 1994
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\
#if 0 #if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95"; static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
#else #else
__RCSID("$NetBSD: ffs_inode.c,v 1.5 2001/05/28 00:41:14 lukem Exp $"); __RCSID("$NetBSD: ffs_inode.c,v 1.6 2001/08/14 05:44:15 lukem Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -82,7 +82,7 @@ struct fs *sblock;
/* /*
* Read the superblock from disk, and check its magic number. * Read the superblock from disk, and check its magic number.
* Determine whether byte-swapping needs to be done on this filesystem. * Determine whether byte-swapping needs to be done on this file system.
*/ */
int int
fs_read_sblock(char *sblock_buf) fs_read_sblock(char *sblock_buf)
@ -115,7 +115,7 @@ fs_parametrize(void)
spcl.c_flags = iswap32(iswap32(spcl.c_flags) | DR_NEWINODEFMT); spcl.c_flags = iswap32(iswap32(spcl.c_flags) | DR_NEWINODEFMT);
} else { } else {
/* /*
* Determine parameters for older filesystems. From * Determine parameters for older file systems. From
* /sys/ufs/ffs/ffs_vfsops.c::ffs_oldfscompat() * /sys/ufs/ffs/ffs_vfsops.c::ffs_oldfscompat()
* *
* XXX: not sure if other variables (fs_npsect, fs_interleave, * XXX: not sure if other variables (fs_npsect, fs_interleave,

View File

@ -1,4 +1,4 @@
/* $NetBSD: tape.c,v 1.28 2001/05/28 01:09:55 lukem Exp $ */ /* $NetBSD: tape.c,v 1.29 2001/08/14 05:44:15 lukem Exp $ */
/*- /*-
* Copyright (c) 1980, 1991, 1993 * Copyright (c) 1980, 1991, 1993
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95"; static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95";
#else #else
__RCSID("$NetBSD: tape.c,v 1.28 2001/05/28 01:09:55 lukem Exp $"); __RCSID("$NetBSD: tape.c,v 1.29 2001/08/14 05:44:15 lukem Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -97,7 +97,7 @@ static void tperror(int);
* Concurrent dump mods (Caltech) - disk block reading and tape writing * Concurrent dump mods (Caltech) - disk block reading and tape writing
* are exported to several slave processes. While one slave writes the * are exported to several slave processes. While one slave writes the
* tape, the others read disk blocks; they pass control of the tape in * tape, the others read disk blocks; they pass control of the tape in
* a ring via signals. The parent process traverses the filesystem and * a ring via signals. The parent process traverses the file system and
* sends writeheader()'s and lists of daddr's to the slaves via pipes. * sends writeheader()'s and lists of daddr's to the slaves via pipes.
* The following structure defines the instruction packets sent to slaves. * The following structure defines the instruction packets sent to slaves.
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: traverse.c,v 1.31 2001/05/28 01:09:55 lukem Exp $ */ /* $NetBSD: traverse.c,v 1.32 2001/08/14 05:44:15 lukem Exp $ */
/*- /*-
* Copyright (c) 1980, 1988, 1991, 1993 * Copyright (c) 1980, 1988, 1991, 1993
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)traverse.c 8.7 (Berkeley) 6/15/95"; static char sccsid[] = "@(#)traverse.c 8.7 (Berkeley) 6/15/95";
#else #else
__RCSID("$NetBSD: traverse.c,v 1.31 2001/05/28 01:09:55 lukem Exp $"); __RCSID("$NetBSD: traverse.c,v 1.32 2001/08/14 05:44:15 lukem Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -179,9 +179,9 @@ mapfileino(ino_t ino, long *tapesize, int *dirskipped)
/* /*
* Dump pass 1. * Dump pass 1.
* *
* Walk the inode list for a filesystem to find all allocated inodes * Walk the inode list for a file system to find all allocated inodes
* that have been modified since the previous dump time. Also, find all * that have been modified since the previous dump time. Also, find all
* the directories in the filesystem. * the directories in the file system.
* disk may be NULL if dirv is NULL. * disk may be NULL if dirv is NULL.
*/ */
int int
@ -274,7 +274,7 @@ mapfiles(ino_t maxino, long *tapesize, char *disk, char * const *dirv)
/* /*
* Dump pass 2. * Dump pass 2.
* *
* Scan each directory on the filesystem to see if it has any modified * Scan each directory on the file system to see if it has any modified
* files in it. If it does, and has not already been added to the dump * files in it. If it does, and has not already been added to the dump
* list (because it was itself modified), then add it. If a directory * list (because it was itself modified), then add it. If a directory
* has not been modified itself, contains no modified files and has no * has not been modified itself, contains no modified files and has no