Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web.
|
2006-12-08 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
Why I don't expect result-oriented work hours to work outA recent Slashdot story pointed to this article on one company's more flexible approach to work hours. It has the line:
My immediate cynical reaction is that this is a marvelous theory but doomed in most practices. The root problem is the same seductive thought in management that leads to excessive overtime: 'if my employee is getting all this done in N hours now, think how much more work she could do in N+Y hours!' Or in other words, if employees have idle time you're clearly not working them hard enough. ('Giving them enough work' is the more polite but less brutally honest version.) (I suppose that ultimately this is a variant of Brooks' Law, in that it is management treating all hours of work as equivalent when they aren't. In Brooks' Law the additional hours come from new people instead of existing people, but the core mistake is the same.) One ultimate end point of this whole idea is a pattern we've already seen: piece-work, where people are paid by the result. Interestingly, I understand that auto mechanics often work this way; there is a fixed charge for many repairs, based on the nominal time it should take, and a skilled mechanic who can do them faster than average can benefit significantly. (Applications to system administration are left as an exercise.)
|
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 |