summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/fsck.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-02-12 13:17:14 +0000
committerkib <kib@FreeBSD.org>2011-02-12 13:17:14 +0000
commit656df90df15f92ec28b0581a52ac846fb2793d4c (patch)
tree58c64f23c963fac76d61054c217cd63570c99c68 /sbin/fsck_ffs/fsck.h
parent4cc560bababbb65c9888fc47b00e449f7bf6fd93 (diff)
downloadFreeBSD-src-656df90df15f92ec28b0581a52ac846fb2793d4c.zip
FreeBSD-src-656df90df15f92ec28b0581a52ac846fb2793d4c.tar.gz
In checker, read journal by sectors.
Due to UFS insistence to pretend that device sector size is 512 bytes, sector size is obtained from ioctl(DIOCGSECTORSIZE) for real devices, and from the label otherwise. The file images without label have to be made with 512 sector size. In collaboration with: pho Reviewed by: jeff Tested by: bz, pho
Diffstat (limited to 'sbin/fsck_ffs/fsck.h')
-rw-r--r--sbin/fsck_ffs/fsck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
index 08f9ef5..342b95f 100644
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -268,6 +268,7 @@ char snapname[BUFSIZ]; /* when doing snapshots, the name of the file */
char *cdevname; /* name of device being checked */
long dev_bsize; /* computed value of DEV_BSIZE */
long secsize; /* actual disk sector size */
+long real_dev_bsize;
char nflag; /* assume a no response */
char yflag; /* assume a yes response */
int bkgrdflag; /* use a snapshot to run on an active system */
OpenPOWER on IntegriCloud