Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2000 17:01:49 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        libh@freebsd.org
Subject:   setup design
Message-ID:  <20000611170149.A1635@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii

Hello!

Take a look at this overall setup design.

Alex
-- 
(Imagine a big "FreeBSD - The Power To Serve" sticker here)

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="main.c"

static void
signal_handler(int sig)
{
	/* noop */
}

int
main(int argc, char **argv)
{

	/* Catch fatal signals and complain about them if running as init */
	if (getpid() == 1) {
		signal(SIGBUS, signal_handler);
		signal(SIGSEGV, signal_handler);
	}
	signal(SIGPIPE, SIG_IGN);

	/* Initialize bootup (USB, Floppy) */
	/* Mount MFS */

	/* If floppy, get second floppy with libs */

	/* Get install-scripts from _install-media!_ */
	/* Everything else is part of the distribution, and _not_ of setup */

	return(0);
}

--HlL+5n6rz5pIUxbD--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000611170149.A1635>