--- - branch: MAIN date: Mon Jan 7 21:04:35 UTC 2019 files: - new: '1.105' old: '1.104' path: src/sys/dev/dksubr.c pathrev: src/sys/dev/dksubr.c@1.105 type: modified id: 20190107T210435Z.42d4ea3ee4ae4a36466c2b9c22c0f2ca22eb8252 log: | convert the sector counts for label sanity checks to use same unit (DEV_BSIZE), so that the check is meaningful if disklabel sector size and disk geometry sector size differ - for example 512 disklabel vs 2048 for sparc cd(4) conversion assumes that the sector sizes are multiples of DEV_BSIZE (512) fixes kern/53833 by Andreas Gustafsson Note: the checks are executed #ifdef DIAGNOSTIC, that's why nothing is printed by 8.0 kernel, or anything built from release branches module: src subject: 'CVS commit: src/sys/dev' unixtime: '1546895075' user: jdolecek