Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!nntp.zit.th-darmstadt.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Kernels and odd root partitions Date: 3 Nov 1996 00:15:23 GMT Organization: Private BSD site, Dresden Lines: 32 Message-ID: <55go6r$q0@uriah.heep.sax.de> References: <557vuu$3td@nntp1.u.washington.edu> <2539@846809777> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E "Kenneth Chiu" <chiuk@cs.indiana.edu> wrote: > Doug Burks <dbx@atmos.washington.edu> wrote: > >* How do you create a compressed kernel? The source code points to > > a kzip script, but I can find no sign of it. > > I think it's in /usr/bin. But anyway, I just used it today, so I know > it's around somewhere. You can always do: > > find / -name '*kzip*' -print > > It doesn't seem to have a man page, but you can find how to use it by > looking at the source, or look in /usr/src/release/Makefile. I think it's also still not usable for real world kernels. Since kernel decompression is done on the fly, there's no image where you could pick up the kernel symbols from. Basically, all the utilities that are setgid kmem might want to have kernel symbols available, or will fail: uriah # find /bin /sbin /usr/bin /usr/sbin -perm -02000 -group kmem | fmt /bin/ps /sbin/ccdconfig /sbin/dmesg /usr/bin/fstat /usr/bin/ipcs /usr/bin/netstat /usr/bin/nfsstat /usr/bin/systat /usr/bin/vmstat /usr/bin/w /usr/bin/uptime /usr/sbin/trpt /usr/sbin/iostat /usr/sbin/ncrcontrol /usr/sbin/pstat /usr/sbin/swapinfo -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)