History log of /netbsd-src/distrib/utils/embedded/files/resize_disklabel (Results 1 – 5 of 5)
Revision Date Author Comments
# 5d501e0c 18-Mar-2023 mlelstv <mlelstv@NetBSD.org>

Can't use disklabel to find the real size of a disk since a fake disklabel
read from disk is trusted. Revert to use drvctl again.


# 9921d008 18-Feb-2023 mlelstv <mlelstv@NetBSD.org>

Handle arbitrary raw partitions.
Fetch geometry from disklabel to be consistent.
Use disktab format instead of the normal human-readable output for parsing
the disklabel.
Avoid overflows in size comp

Handle arbitrary raw partitions.
Fetch geometry from disklabel to be consistent.
Use disktab format instead of the normal human-readable output for parsing
the disklabel.
Avoid overflows in size computation.

show more ...


# dde6e2ae 06-Oct-2018 jmcneill <jmcneill@NetBSD.org>

resize_disklabel: if disk and partition is not specified, use kern.root_device/kern.root_partition sysctls


# fa18b035 14-Apr-2017 jmcneill <jmcneill@NetBSD.org>

Grow the MBR partition table entry for the BSD partition before
growing the disklabel.


# d32faae6 06-Apr-2015 jmcneill <jmcneill@NetBSD.org>

Add support for auto-growing the root partition. Enable it for rpi.img.