Skip to content

Commit

Permalink
Update rootfs_resizer
Browse files Browse the repository at this point in the history
  • Loading branch information
lkiuyu authored May 26, 2023
1 parent 5230470 commit 336db92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/rootfs-resizer/files/rootfs_resizer
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

rootpart=$(findmnt -n -o SOURCE /)
mount -o ro,remount /
#tune2fs -O^resize_inode ${rootpart}
tune2fs -O^resize_inode ${rootpart}
fsck.ext4 -yDf ${rootpart} > /dev/null
mount -o rw,remount /
resize2fs ${rootpart} > /dev/null

opkg remove rootfs-resizer
#reboot
reboot

0 comments on commit 336db92

Please sign in to comment.