Hacker News new | past | comments | ask | show | jobs | submit login

I disagree on the sane part.

Make a simple search on google on "how to resize a partition on linux" and you get ten tutorials, all of which give different steps, none of which work.

There are at least 7 different tools for managing disks on linux most of which vary by distribution and version: fdisk, mkfs, partx, parted, growpart, mdraid, dmcrypt...

Little story: The auto extending of partitions on boot (i.e. a critical thing in cloud environment) has been broken in debian stable for more than 6 months.

It's calling "growpart" that is calling other tools, one of which is "partx". Some flags are changing between versions and it breaks the whole toolchain, unless all software versions are carefully selected.

We could continue on why do some of the tools only accept cylinder and block counts as size??? or why is gparted a terrible GUI for managing disks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: