From owner-freebsd-current Fri Nov 6 11:21:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA16471 for freebsd-current-outgoing; Fri, 6 Nov 1998 11:21:27 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m2-54-dbn.dial-up.net [196.34.155.118]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA16461 for ; Fri, 6 Nov 1998 11:21:19 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id VAA02364; Fri, 6 Nov 1998 21:19:07 +0200 (SAT) From: Robert Nordier Message-Id: <199811061919.VAA02364@ceia.nordier.com> Subject: Re: ficl In-Reply-To: <1602.910369694@time.cdrom.com> from "Jordan K. Hubbard" at "Nov 6, 98 08:28:14 am" To: chuckr@mat.net (Chuck Robey) Date: Fri, 6 Nov 1998 21:18:58 +0200 (SAT) Cc: jkh@time.cdrom.com, mike@smith.net.au, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jordan K. Hubbard wrote: > > I'm watching all your work using ficl with a lot of interest, but I > > don't understand the operating environment of programs at that early > > stage of boot too well. Is the filesystem available? Can any use be > > made of other Unix utils at all? What devices are available? > > Obviously, screen input/output is *somewhat* available, right? > > You can open() files and do read() calls on them; I don't think > write() is supported yet. You can't rely on anything outside of the > bootstrap unless it can be open()'d and you certainly can't run > ordinary unix utilities from it. I'm not sure about devices and > filesystems available - that's more of a Mike/Robert question. Really more Mike's area than mine, which is mostly the low-level i386 stuff. Devices: Apart from video and serial consoles, disk and net devices are currently provided for. Though, at least on the i386, it should be reasonably easy to add access to anything that has BIOS or other firmware support. Filesystems: cd9960, dosfs, nfs, and ufs; as well as zipfs and tftp. Adding read-only support for a local filesystem needs ~700 lines of C at the moment. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message