9fans archive / 1995 / 12 / 57 /    prev next

From: steve@pla... steve@pla...
Subject: Can't mk 9pc
Date: Wed, 20 Dec 1995 09:17:23 -0500

"Luther Huffman, Jr." <lutherh@mai...> asked Santa:
> Hmmm. I know that if I formatted my hard disk with disk/prep -a that 
> I would have a default swap partition. Somebody please tell me that 
> the standard CD-ROM installation procedure created the swap partition 
> for me and all I have to do is give it a name for the "swap" command. 
> If someone can't tell me this, please lie to me.

Yes, there should be a swap partition already. If your boot disk is
/dev/sd0 (scsi), and you "bind -a '#w0' /dev", then "lc /dev" will
show you all the partitions. Use "swap /dev/sd0swap" to enable the swap area.
If your boot disk is IDE, use '#H' for the bind, & /dev/hd0swap

fyi, 'prep -a' allocates up to 20% of the plan9 area of the disk or
2*memsize, whichever is less, for swap.