Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
BLOCK_DEV="/dev/mmcblk0"
PART_NUM="1"
parted ${BLOCK_DEV} resizepart ${PART_NUM} 100%
resize2fs ${BLOCK_DEV}p${PART_NUM}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment