On Tue, Jan 09, 2007 at 10:51:34PM +1100, atstake atstake wrote:
> I'm installing 4.0 on a 120GB HDD. If I, at a later stage, want to
> allocate 2GB from my /usr partition to my /home partition will I be
> able to do that given that I have 2GB free space available on my /usr
> partition?

No, not without backing up at least one of those partitions and
re-disklabel(8)-ing.

You could, however, leave 2 GB of free space in between; you could then
use disklabel(8) to assign it to either partition, and growfs(8) to
enlarge either.

I presume that you'd need to use dd(1) to move the partition after the
empty space into the empty space after disklabel(8), or growfs(8)
probably won't find the (right) filesystem.

Note that all this is *dangerous*. In other news, I discovered yesterday
that sysutils/sleuthkit is, in fact, not the most efficient spam filter
ever discovered by mankind [1][2]. Who knew?

                Joachim

[1] And that the best backup system can still fail if operated by a dumb
monkey. Not adding /var/mail to /etc/amanda/disklist, for instance, is
something only someone with my huge intellect could ever manage.

[2] Once I've polished my helper script(s), I'll try to place them
somewhere public. Might save someone else 30 minutes of coding.

Reply via email to