freebsd-src/sbin
Stefan Eßer 17e85f5990 newfs_msdos: align to multiple of cluster size by default
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
2024-06-06 12:28:02 +02:00
..
adjkerntz
bectl bectl(8): authors: Kyle Evans: fine-tune 2024-04-09 22:01:03 -06:00
bsdlabel bsdlabel: add BUGS section documenting 8 partition limit 2024-03-25 18:26:29 -04:00
camcontrol cam: Add a XPORT_NVMF for NVMe over Fabrics sims 2024-05-02 16:29:26 -07:00
ccdconfig ccdconfig: reference gpart rather than fdisk and disklabel 2024-03-22 14:51:15 -04:00
clri
comcontrol comcontrol(8): Grammar fix 2024-02-13 16:40:09 +08:00
conscontrol
ddb
decryptcore
devd devd: Add directory information 2024-03-06 18:38:59 -07:00
devfs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
devmatch devmatch: Convert command line flags to bools 2024-04-05 16:53:47 -06:00
dhclient dhclient: remove unused primary_address 2024-05-24 22:17:08 -06:00
dmesg dmesg(8): Fix typo timetamps -> timestamps 2024-02-13 16:42:49 +08:00
dump dump(8): Fix typo in comment 2024-02-13 12:30:30 +08:00
dumpfs
dumpon dumpon: fix set but not used variable 2024-04-18 11:39:16 -04:00
etherswitchcfg
fdisk fdisk(8): Fix typo forth -> fourth 2024-02-13 15:17:48 +08:00
ffsinfo
fsck
fsck_ffs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
fsck_msdosfs
fsdb
fsirand
geom
ggate Remove cross-references to GBDE 2024-05-07 07:35:33 +00:00
growfs growfs(8): Grammar fix 2024-02-13 17:05:18 +08:00
gvinum
hastctl
hastd sbin: Remove repeated words 2024-04-11 11:53:37 -06:00
ifconfig Migrate from printb to print_bits for locally defined bit fields. 2024-06-03 11:48:35 -04:00
init
ipf ipf: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0]) 2024-04-28 22:21:09 -06:00
ipfw ipfw: correctly report table manipulation errors 2024-05-09 20:08:18 -06:00
kldconfig
kldload
kldstat
kldunload
ldconfig ldconfig: fix man-page - duplicate dot at end of sentence 2024-04-20 19:49:10 +02:00
md5 md5.1: Fix the GNU mode example when using a digest file 2024-03-12 15:44:48 +01:00
mdconfig mdconfig: remove the "cluster" option. 2024-06-01 17:31:04 -06:00
mdmfs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mknod man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mksnap_ffs
mount man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mount_cd9660 man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mount_fusefs
mount_msdosfs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mount_nfs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mount_nullfs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mount_udf
mount_unionfs
natd
newfs Enable soft updates by default for UFS2 filesystems. 2024-05-14 22:40:01 -07:00
newfs_msdos newfs_msdos: align to multiple of cluster size by default 2024-06-06 12:28:02 +02:00
nfsiod
nos-tun
nvmecontrol nvmecontrol: Appease a meaningless signed error warning thing 2024-05-11 13:03:29 -06:00
pfctl pf: convert DIOCSETDEBUG to netlink 2024-06-04 14:59:59 +02:00
pfilctl pfilctl: fix 'pfilctl hooks' when nothing is connected 2024-03-28 14:10:15 -07:00
pflogd
pflowctl
ping ping: Fix protocol selection with NOINET6 kernel. 2024-03-12 20:40:36 +01:00
quotacheck
rcorder rcorder(8): Fix grammar 2024-02-13 16:36:05 +08:00
reboot nextboot: Permit ZFS boot filesystems mounted at the pool's root 2024-05-30 05:44:55 -07:00
recoverdisk
resolvconf
restore Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
route
routed
rtsol
savecore savecore(8): Complete libxo transition 2024-04-04 02:28:30 +08:00
setkey setkey: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0]) 2024-04-28 22:21:09 -06:00
shutdown
swapon Remove gbde support from swapon(8) 2024-05-07 07:21:46 +00:00
sysctl sysctl(8): Fix typo in comment 2024-02-13 12:28:55 +08:00
tests
tunefs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
umount umount: Support partitions & slices with -d option 2024-04-22 22:36:35 -06:00
veriexec veriexec(8): Fix typo 2024-02-13 16:11:30 +08:00
zfsbootcfg zfsbootcfg(8), zpool_influxdb(8): move to the zfs package 2024-04-22 23:04:03 -06:00
Makefile Disconnect GBDE from the build. (Per earlier announcements of retirement.) 2024-05-07 05:19:03 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc64