Page MenuHomeFreeBSD

D56534.id175934.diff
No OneTemporary

D56534.id175934.diff

diff --git a/lib/geom/cache/gcache.8 b/lib/geom/cache/gcache.8
--- a/lib/geom/cache/gcache.8
+++ b/lib/geom/cache/gcache.8
@@ -82,9 +82,9 @@
utility is used to control GEOM cache, which can
speed up read performance by sending fixed size
read requests to its consumer. It has been developed to address
-the problem of a horrible read performance of a 64k blocksize FS
+the problem of a horrible read performance of a 64 KiB blocksize FS
residing on a RAID3 array with 8 data components, where a single
-disk component would only get 8k read requests, thus effectively
+disk component would only get 8 KiB read requests, thus effectively
killing disk performance under high load.
.Pp
Caching can be configured using two different methods:
diff --git a/lib/geom/eli/geli.8 b/lib/geom/eli/geli.8
--- a/lib/geom/eli/geli.8
+++ b/lib/geom/eli/geli.8
@@ -936,7 +936,7 @@
.Sh EXAMPLES
Initialize a provider which is going to be encrypted with a
passphrase and random data from a file on the user's pen drive.
-Use 4kB sector size.
+Use 4 KiB sector size.
Attach the provider, create a filesystem, and mount it.
Do the work.
Unmount the provider and detach it:
diff --git a/lib/geom/part/gpart.8 b/lib/geom/part/gpart.8
--- a/lib/geom/part/gpart.8
+++ b/lib/geom/part/gpart.8
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 4, 2025
+.Dd April 20, 2026
.Dt GPART 8
.Os
.Sh NAME
@@ -168,7 +168,9 @@
value.
.It Fl b Ar start
The logical block address where the partition will begin.
-An SI unit suffix is allowed.
+A single-character suffix
+.Pq k, m, g, etc.
+is allowed to specify binary byte sizes.
.It Fl f Ar flags
Additional operational flags.
See the section entitled
@@ -187,7 +189,9 @@
.It Fl s Ar size
Create a partition of size
.Ar size .
-An SI unit suffix is allowed.
+A single-character suffix
+.Pq k, m, g, etc.
+is allowed to specify binary byte sizes.
.It Fl t Ar type
Create a partition of type
.Ar type .
@@ -422,8 +426,10 @@
.It Fl i Ar index
Specifies the index of the partition to be resized.
.It Fl s Ar size
-Specifies the new size of the partition, in logical blocks.
-An SI unit suffix is allowed.
+Specifies the new size of the partition, in logical blocks,
+or binary byte sizes if a single-character suffix
+.Pq k, m, g, etc.
+is provided.
.El
.\" ==== RESTORE ====
.It Cm restore
@@ -1134,7 +1140,7 @@
(see the
.Sx "PARTITION TYPES"
section).
-It uses 8 KB size bootstrap code image
+It uses 8 KiB size bootstrap code image
.Pa /boot/boot ,
embedded into the partition table's metadata area.
.Pp
@@ -1149,7 +1155,7 @@
section) and runs the next bootstrap stage from it.
The
.Cm freebsd-boot
-partition should be smaller than 545 KB.
+partition should be smaller than 545 KiB.
It can be located either before or after other
.Fx
partitions on the disk.
@@ -1190,13 +1196,13 @@
is started from the first one found set as bootable.
.Pp
The APM scheme also does not support embedding bootstrap code.
-Instead, the 800 KBytes bootstrap code image
+Instead, the 800 KiB bootstrap code image
.Pa /boot/boot1.hfs
should be written with the
.Cm gpart bootcode
command to a partition of type
.Cm apple-boot ,
-which should also be 800 KB in size.
+which should also be 800 KiB in size.
.Sh OPERATIONAL FLAGS
Actions other than the
.Cm commit
@@ -1384,29 +1390,29 @@
.Pa /boot/gptzfsboot
for ZFS
.Pc ,
-but smaller than 545 kB since the first-stage loader will load the
+but smaller than 545 KiB since the first-stage loader will load the
entire partition into memory during boot, regardless of how much data
it actually contains.
-We create a 472-block (236 kB) boot partition at offset 40, which is
-the size of the partition table (34 blocks or 17 kB) rounded up to the
-nearest 4 kB boundary.
+We create a 472-block (236 KiB) boot partition at offset 40, which is
+the size of the partition table (34 blocks or 17 KiB) rounded up to the
+nearest 4 KiB boundary.
.Bd -literal -offset indent
/sbin/gpart add -b 40 -s 472 -t freebsd-boot ada0
/sbin/gpart bootcode -p /boot/gptboot -i 1 ada0
.Ed
.Pp
-We now create a 4 GB swap partition at the first available offset,
-which is 40 + 472 = 512 blocks (256 kB).
+We now create a 4 GiB swap partition at the first available offset,
+which is 40 + 472 = 512 blocks (256 KiB).
.Bd -literal -offset indent
/sbin/gpart add -s 4G -t freebsd-swap ada0
.Ed
.Pp
-Aligning the swap partition and all subsequent partitions on a 256 kB
+Aligning the swap partition and all subsequent partitions on a 256 KiB
boundary ensures optimal performance on a wide range of media, from
plain old disks with 512-byte blocks, through modern
.Dq advanced format
disks with 4096-byte physical blocks, to RAID volumes with stripe
-sizes of up to 256 kB.
+sizes of up to 256 KiB.
.Pp
Finally, we create and format an 8 GB
.Cm freebsd-ufs
@@ -1425,7 +1431,7 @@
disklabel.
.Pp
First, we create the partition table as well as a single partition 64 GB in
-size and an alignment of 4 kB, then we mark that partition active (bootable)
+size and an alignment of 4 KiB, then we mark that partition active (bootable)
and install the first-stage boot loader:
.Bd -literal -offset indent
/sbin/gpart create -s MBR ada0
diff --git a/sbin/ggate/ggatec/ggatec.8 b/sbin/ggate/ggatec/ggatec.8
--- a/sbin/ggate/ggatec/ggatec.8
+++ b/sbin/ggate/ggatec/ggatec.8
@@ -101,7 +101,7 @@
.El
.Pp
Available options:
-.Bl -tag -width ".Fl s Cm ro | wo | rw"
+.Bl -tag -width "-q queue_size"
.It Fl f
Forcibly destroy
.Nm ggate
@@ -136,10 +136,10 @@
Default is 1024.
.It Fl R Ar rcvbuf
Size of receive buffer to use.
-Default is 131072 (128kB).
+Default is 131072 (128 KiB).
.It Fl S Ar sndbuf
Size of send buffer to use.
-Default is 131072 (128kB).
+Default is 131072 (128 KiB).
.It Fl s Ar sectorsize
Sector size for
.Nm ggate
diff --git a/sbin/ggate/ggated/ggated.8 b/sbin/ggate/ggated/ggated.8
--- a/sbin/ggate/ggated/ggated.8
+++ b/sbin/ggate/ggated/ggated.8
@@ -72,10 +72,10 @@
uses.
.It Fl R Ar rcvbuf
Size of receive buffer to use.
-Default is 131072 (128kB).
+Default is 131072 (128 KiB).
.It Fl S Ar sndbuf
Size of send buffer to use.
-Default is 131072 (128kB).
+Default is 131072 (128 KiB).
.It Fl v
Do not fork, run in foreground and print debug information on standard
output.

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 26, 5:10 AM (4 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32164105
Default Alt Text
D56534.id175934.diff (6 KB)

Event Timeline