summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs/ffs.h
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-11-13 10:22:22 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-11-13 10:22:22 +0000
commitd0a666429acf1e2a115330bc6aeb9f553a2db09d (patch)
tree9eee65ef7cc1fd1910c7fb3777403a6be50f1e01 /usr.sbin/makefs/ffs.h
parentcb319ed8cb011560829651379620a9f17c57e537 (diff)
Pick up the FS image size, the sector size and the bsize and fsize
parameters from the disklabel. discussed with deraadt
Diffstat (limited to 'usr.sbin/makefs/ffs.h')
-rw-r--r--usr.sbin/makefs/ffs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/makefs/ffs.h b/usr.sbin/makefs/ffs.h
index 59b046e5767..61601e3b0a6 100644
--- a/usr.sbin/makefs/ffs.h
+++ b/usr.sbin/makefs/ffs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs.h,v 1.8 2016/11/11 09:54:07 natano Exp $ */
+/* $OpenBSD: ffs.h,v 1.9 2016/11/13 10:22:21 natano Exp $ */
/* $NetBSD: ffs.h,v 1.2 2011/10/09 21:33:43 christos Exp $ */
/*
@@ -54,6 +54,7 @@ typedef struct {
int maxblkspercg; /* max # of blocks per cylinder group */
struct disklabel *lp; /* disk label */
+ struct partition *pp; /* matching FFS partition in disklabel */
} ffs_opt_t;
#endif /* _FFS_H */