2
votes
1answer
143 views

How to resize a partition to the min-size via a script

I need to shrink my partition to min-size, like resize2fs -M /dev/sba6 but, it seems that resize2fs does not change the physical partition, just the structure of the filesystem. parted can resize ...