Subject: Re: resize_ffs
To: Jan Schaumann <jschauma@netmeister.org>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: netbsd-users
Date: 03/05/2003 14:31:33
>
> If I have 6 partition (a,f-j, b is swap) and I run out of space on
> partition j, can I shrink partition h and extend partition j using the
> newly free'd space?
>
> I would assume it to work like this:
>
> resize_ffs h <smaller>
> disklabel <disk>
> ['add' new space to partition j]
> resize_ffs j <larger>
>
> Does this work (this way)?
>
you have to
add space to partition j leftside
dd if=/dev/rxxxj of=/dev/rxxxj bs=blocksize skip=<how_many_block_you_added_leftside>
resize_ffs /dev/rxxxj <larger>
PS. try to make one big partition instead of many :) it's REALLY easier