Date: Thu, 20 May 1999 08:22:29 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: saper@system.pl (Marcin Cieslak) Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Astonishingly stupid question Message-ID: <199905201522.IAA02535@gndrsh.aac.dev.com> In-Reply-To: <Pine.GSO.4.10.9905191505540.16203-100000@tricord.system.pl> from Marcin Cieslak at "May 19, 1999 03:09:45 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 19 May 1999, Michael Robinson wrote: > > > like a properly configured Python interpreter and rebooted the system? > > Just have a look at PicoBSD, they have replaced /sbin/init > with something lighter. /stand/sysinstall is also > an example of working init replacement. > > Yes, try, but be prepared to do everything manually (namely > mounting filesystems and expoliting the richness > of /etc/rc* files). Remember about static linking > and mounting the fs with dynamic libraries. > > However, the kernel should be usable anyway. If I am not mistaken additional hooks have been added into the system to make it even easier to replace /sbin/init with what ever you like. I think you can specify this as a kernel compile time option, so you don't have to rename Python to /sbin/init, you can make a kernel load /sbin/Python for you :-) I would start by searching the mail archives of cvs-commit for /sbin/init and see what you find. Then look at the sysinstall binary and the PicoBSD stuff. Next go seek out the developers of these two wounder pieces of work and ask them how they did it :-) -- Rod Grimes - KD7CAX - (RWG25) rgrimes@gndrsh.aac.dev.com Accurate Automation, Inc. Reliable computers for FreeBSD http://www.aai.dnsmgr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905201522.IAA02535>