What I want out of a Linux partitioning programPrograms like
This makes partition N be SIZE big (with the default units being
megabytes), optionally making its type be TYPE (which can be in hex or
in English). If N is 1 to 4, it is a primary partition; otherwise it
is a logical partition and the program automatically creates an
extended partition as necessary. Partitions are allocated in order,
from the start of the disk on up. You can use 'sdaN' and the like as a
synonym for 'N'; if you do so, by default it is an error if you are
not operating on The next most important command is:
This allows partition N to grow to be TO big (up to MAX size). 'TO' can be 'rest', for the rest of the disk, a percentage of the total disk size, or a size (in which case MAX is redundant). Growth requests are satisfied in order. Then our default partitioning scheme could be expressed simply and directly: make 1 512M # /boot make 2 2G swap # swap make 5 5G raid # / make 6 20G raid # /usr make 7 5G raid # /var make 8 2G raid # /tmp make 9 1M raid # rest grow 8 10% 4G grow 9 rest An This omits a great many advanced features that are part of Some existing programs come close:
(The 'grow the last partition to the rest of the disk' is the piece
of (These are all the Linux partition editors that I know of, apart from
qtparted and gparted, which are parted frontends, and Since I've now discovered that |
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |