Ted Unangst wrote:
On Tue, 6 Sep 2005, Kelly Martin wrote:
I've got an A6 primary partition with various /usr and /var style partitions
within. Pretty standard, but I ran out of disk space. I added a second
primary A6 partition in the freespace of the same disk using fdisk, but
don't do this.
Can someone walk me through this as if I were a monkey, and take me
step-by-step? I wanna tell disklabel it's got to be /var/www/htdocs on the
above partition, then run newfs, then mount it, and then add it to my fstab
for good.
create some other parition type in fdisk, go into disklabel, use 'b' to
edit the whole disk, and add a new partition with the appropriate values.
i'd definitely use raw sector offsets for this, as chs geometry will
likely be wrong. then newfs and away you go.
Not that I have an issue with this now, but would it be possible to
extend the current A6 partition and then update the disklabel
accordingly, if there is free space is directly after, or could/will
this hose stuff? I would feel more comfortable with this approach,
keeping all OpenBSD stuff within the A6 in order not to (or less likely)
mess upp stuff later.
/Alexander