Date: Mon, 10 Dec 2001 16:52:24 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/boot/i386/loader version src/share/examp Message-ID: <XFMail.011210165224.jhb@FreeBSD.org> In-Reply-To: <200112110049.fBB0nYW71109@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11-Dec-01 John Baldwin wrote: > jhb 2001/12/10 16:49:34 PST > > Modified files: > sys/boot/i386/loader version > share/examples/bootforth boot.4th loader.rc > sys/boot/alpha/cdboot version > sys/boot/alpha/loader version > sys/boot/common loader.8 > sys/boot/ficl loader.c > sys/boot/forth loader.4th pnp.4th support.4th > Log: > - Add 'fwrite' and 'fseek' words for writing to and seeking on files. > - Change the 'fopen' keyword to accept a mode parameter. Note that this > will break existing 4th scripts that use fopen. Thus, the loader > version has been bumped and loader.4th has been changed to check for a > sufficient version on i386 and alpha. Be sure that you either do a full > world build or install or full build and install of sys/boot after this > since loader.old won't work with the new 4th files and vice versa. > > PR: kern/32389 > Submitted by: Jonathan Mini <mini@haikugeek.com> > Sponsored by: ClickArray, Inc. All these loader commits make it possible to overwrite the existing contents of a file on a UFS filesystem. This allows us to finally implement nextboot for example. It currently only works on x86, but all that is needed on other archs is for their disk drivers to support write operations. If more filesystems are desired, then the filesystems in libstand can grow write support as well. As a side note, I would like to have a single loader version that we check against versus one for each arch. The per-arch check doesn't scale well since we have to duplicate the check for each arch in loader.4th. Also, most (all?) of the changes in the loader version are things like FICL upgrades which aren't MD anyways. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011210165224.jhb>