Skip to content

Instantly share code, notes, and snippets.

@goneri
Last active May 20, 2019 06:06
Show Gist options
  • Save goneri/47e3e3070137451d70a83e6d8b14d15a to your computer and use it in GitHub Desktop.
Save goneri/47e3e3070137451d70a83e6d8b14d15a to your computer and use it in GitHub Desktop.
NetBSD: resize / using resize_ffs
gpt resizedisk ld0
gpt resize -i 2 ld0
reboot
dkctl ld0 makewedges
mount -ur /
resize_ffs -p -y -v /dev/rdk1
fsck -fy /dev/rdk1
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment