fsck.h (142d8d2f406cdf3f3bb9ff73c2f09b6cc6f669a4) fsck.h (9ea6f4f0beddb78d2370ec6fe0b8e55330cbc73c)
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

200int doinglevel1; /* converting to new cylinder group format */
201int doinglevel2; /* converting to new inode format */
202int newinofmt; /* filesystem has new inode format */
203char usedsoftdep; /* just fix soft dependency inconsistencies */
204char preen; /* just fix normal inconsistencies */
205char rerun; /* rerun fsck. Only used in non-preen mode */
206int returntosingle; /* 1 => return to single user mode on exit */
207char resolved; /* cleared if unresolved changes => not clean */
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

200int doinglevel1; /* converting to new cylinder group format */
201int doinglevel2; /* converting to new inode format */
202int newinofmt; /* filesystem has new inode format */
203char usedsoftdep; /* just fix soft dependency inconsistencies */
204char preen; /* just fix normal inconsistencies */
205char rerun; /* rerun fsck. Only used in non-preen mode */
206int returntosingle; /* 1 => return to single user mode on exit */
207char resolved; /* cleared if unresolved changes => not clean */
208int markclean; /* mark file system clean when done */
208char havesb; /* superblock has been read */
209char havesb; /* superblock has been read */
210char skipclean; /* skip clean file systems if preening */
209int fsmodified; /* 1 => write done to file system */
210int fsreadfd; /* file descriptor for reading file system */
211int fswritefd; /* file descriptor for writing file system */
212
213ufs_daddr_t maxfsblock; /* number of blocks in the file system */
214char *blockmap; /* ptr to primary blk allocation map */
215ino_t maxino; /* number of inodes in file system */
216

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

247char *blockcheck __P((char *name));
248int bread __P((int fd, char *buf, ufs_daddr_t blk, long size));
249void bufinit __P((void));
250void bwrite __P((int fd, char *buf, ufs_daddr_t blk, long size));
251void cacheino __P((struct dinode *dp, ino_t inumber));
252void catch __P((int));
253void catchquit __P((int));
254int changeino __P((ino_t dir, char *name, ino_t newnum));
211int fsmodified; /* 1 => write done to file system */
212int fsreadfd; /* file descriptor for reading file system */
213int fswritefd; /* file descriptor for writing file system */
214
215ufs_daddr_t maxfsblock; /* number of blocks in the file system */
216char *blockmap; /* ptr to primary blk allocation map */
217ino_t maxino; /* number of inodes in file system */
218

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

249char *blockcheck __P((char *name));
250int bread __P((int fd, char *buf, ufs_daddr_t blk, long size));
251void bufinit __P((void));
252void bwrite __P((int fd, char *buf, ufs_daddr_t blk, long size));
253void cacheino __P((struct dinode *dp, ino_t inumber));
254void catch __P((int));
255void catchquit __P((int));
256int changeino __P((ino_t dir, char *name, ino_t newnum));
255int checkfstab __P((int preen, int maxrun,
256 int (*docheck)(struct fstab *),
257 int (*chkit)(char *, char *, long, int)));
258int chkrange __P((ufs_daddr_t blk, int cnt));
259void ckfini __P((int markclean));
260int ckinode __P((struct dinode *dp, struct inodesc *));
261void clri __P((struct inodesc *, char *type, int flag));
262int clearentry __P((struct inodesc *));
263void direrror __P((ino_t ino, char *errmesg));
264int dirscan __P((struct inodesc *));
265int dofix __P((struct inodesc *, char *msg));

--- 40 unchanged lines hidden ---
257int chkrange __P((ufs_daddr_t blk, int cnt));
258void ckfini __P((int markclean));
259int ckinode __P((struct dinode *dp, struct inodesc *));
260void clri __P((struct inodesc *, char *type, int flag));
261int clearentry __P((struct inodesc *));
262void direrror __P((ino_t ino, char *errmesg));
263int dirscan __P((struct inodesc *));
264int dofix __P((struct inodesc *, char *msg));

--- 40 unchanged lines hidden ---