summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ffs/fs.h')
-rw-r--r--sys/ufs/ffs/fs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h
index af7fd43..da854f9 100644
--- a/sys/ufs/ffs/fs.h
+++ b/sys/ufs/ffs/fs.h
@@ -58,12 +58,11 @@
* The beginning of cylinder group cg in fs, is given by
* the ``cgbase(fs, cg)'' macro.
*
- * The first boot and super blocks are given in absolute disk addresses.
- * The byte-offset forms are preferred, as they don't imply a sector size.
+ * The size and offset of the super-block in sector-size neutral bytes.
*/
-#define BBSIZE 8192
#define SBSIZE 8192
#define SBOFF ((off_t)(BBSIZE))
+#define SBLOCK ((ufs_daddr_t)(SBOFF / DEV_BSIZE))
/* Max number of fragments per block, this is not tweakable */
#define MAXFRAG 8
OpenPOWER on IntegriCloud