diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-05-29 12:02:51 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-05-29 12:02:51 +0000 |
commit | f5ac28745ff831ff91a1c2aedb32eedfec92d13a (patch) | |
tree | dcf6f9c03fe623540fb9d8f52af5160aa333df71 /sbin/ttyflags | |
parent | 460364710c8e88762893a2039aba177087b2b897 (diff) |
fsck should use the same values in checking as newfs does in creating
a filesystem. fs_nspf and its derivitives like fs_spc are DEV_BSIZE
values, not actual hardware disk sector values. Adjust initializations
accordingly.
Tweak header and man page comments to make the DEV_BSIZE'ness more
obvious for future spelunkers.
No-op for DEV_BSIZE (a.k.a. 512-byte) sector devices but should help
checking filesystems on, e.g., 4k-byte sector devices.
ok jmc@ on the man page tweaks.
Diffstat (limited to 'sbin/ttyflags')
0 files changed, 0 insertions, 0 deletions