mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
17e85f5990
A previous commit aligned the start of the data area to a multiple of the VM page size, in order to prevent extra buffers to be allocated (which failed for 64 KB cluster size without this alignment). Since a dependency on PAGE_SIZE caused compatibility issues, the alignment was made conditional on this macro being defined, in the previous commit. This lead to different behavior of this program when built on FreeBSD vs. Linux (which does not define PAGE_SIZE). This commit removes any use of PAGE_SIZE and instead always aligns the start of the data area to a multiple of the cluster size. The -A option is now implied, unless overridden by a specific number of reserved sectors with the -r option. Approved by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45436 |
||
---|---|---|
.. | ||
tests | ||
Makefile | ||
Makefile.depend | ||
mkfs_msdos.c | ||
mkfs_msdos.h | ||
newfs_msdos.8 | ||
newfs_msdos.c |