9fans archive / 2001 / 05 / 439 /    prev next

From: "Russ Cox" <rsc@pla...>
Subject: Re: [9fans] Newbie Question: How do I update the system?
Date: Sun, 27 May 2001 18:29:39 -0400

> I've done a wrap/inst of the updates and I was wondering:
> 
> What is the set of mk commands that I need to invoke
> to update the systems and produce new kernels and a new floppy?

You should probably only rebuild the commands
that are marked as having changed.  In general
you 
	cd /sys/src/cmd/directory
	mk install
	mk clean

To build the terminal disk kernel,
	cd /sys/src/9/pc
	mk 'CONF=pcdisk' install
and then to boot from it
	9fat:
	cp 9pcdisk /n/9fat

You shouldn't need a new boot floppy.
To build a new installation floppy, you 
	cd /sys/lib/pcdist/disk
	mk

Russ