Deleted Added
full compact
globs.c (260076) globs.c (289677)
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

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

34 The Regents of the University of California. All rights reserved.\n";
35#endif /* not lint */
36
37#ifndef lint
38static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/14/95";
39#endif /* not lint */
40#endif
41#include <sys/cdefs.h>
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

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

34 The Regents of the University of California. All rights reserved.\n";
35#endif /* not lint */
36
37#ifndef lint
38static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/14/95";
39#endif /* not lint */
40#endif
41#include <sys/cdefs.h>
42__FBSDID("$FreeBSD: head/sbin/fsck_ffs/globs.c 260076 2013-12-30 05:02:57Z scottl $");
42__FBSDID("$FreeBSD: head/sbin/fsck_ffs/globs.c 289677 2015-10-21 05:37:09Z eadler $");
43
44#include <sys/param.h>
45#include <ufs/ufs/dinode.h>
46#include <ufs/ffs/fs.h>
47#include <string.h>
48#include "fsck.h"
49
50long readcnt[BT_NUMBUFTYPES];

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

68int freefiles[MIBSIZE]; /* MIB command to free a set of files */
69int freedirs[MIBSIZE]; /* MIB command to free a set of directories */
70int freeblks[MIBSIZE]; /* MIB command to free a set of data blocks */
71struct fsck_cmd cmd; /* sysctl file system update commands */
72char snapname[BUFSIZ]; /* when doing snapshots, the name of the file */
73char *cdevname; /* name of device being checked */
74long dev_bsize; /* computed value of DEV_BSIZE */
75long secsize; /* actual disk sector size */
43
44#include <sys/param.h>
45#include <ufs/ufs/dinode.h>
46#include <ufs/ffs/fs.h>
47#include <string.h>
48#include "fsck.h"
49
50long readcnt[BT_NUMBUFTYPES];

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

68int freefiles[MIBSIZE]; /* MIB command to free a set of files */
69int freedirs[MIBSIZE]; /* MIB command to free a set of directories */
70int freeblks[MIBSIZE]; /* MIB command to free a set of data blocks */
71struct fsck_cmd cmd; /* sysctl file system update commands */
72char snapname[BUFSIZ]; /* when doing snapshots, the name of the file */
73char *cdevname; /* name of device being checked */
74long dev_bsize; /* computed value of DEV_BSIZE */
75long secsize; /* actual disk sector size */
76u_int real_dev_bsize; /* actual disk sector size, not overriden */
76u_int real_dev_bsize; /* actual disk sector size, not overridden */
77char nflag; /* assume a no response */
78char yflag; /* assume a yes response */
79int bkgrdflag; /* use a snapshot to run on an active system */
80int bflag; /* location of alternate super block */
81int debug; /* output debugging info */
82int Eflag; /* delete empty data blocks */
83int Zflag; /* zero empty data blocks */
84int inoopt; /* trim out unused inodes */

--- 81 unchanged lines hidden ---
77char nflag; /* assume a no response */
78char yflag; /* assume a yes response */
79int bkgrdflag; /* use a snapshot to run on an active system */
80int bflag; /* location of alternate super block */
81int debug; /* output debugging info */
82int Eflag; /* delete empty data blocks */
83int Zflag; /* zero empty data blocks */
84int inoopt; /* trim out unused inodes */

--- 81 unchanged lines hidden ---