Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA2001 ; Wed, 24 Feb 93 13:00:42 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!agate.berkeley.edu!cgd From: cgd@gaia.CS.Berkeley.EDU (Chris G. Demetriou) Newsgroups: comp.os.386bsd.bugs Subject: Re: newvers.sh changes Date: 23 Feb 93 02:09:59 Organization: Kernel Hackers 'r' Us Lines: 30 Message-ID: <CGD.93Feb23020959@gaia.CS.Berkeley.EDU> References: <1mbh4o$nve@wzv.win.tue.nl> NNTP-Posting-Host: gaia.cs.berkeley.edu In-reply-to: guido@gvr.win.tue.nl's message of 22 Feb 93 21:38:32 GMT In article <1mbh4o$nve@wzv.win.tue.nl> guido@gvr.win.tue.nl (Guido van Rooij) writes: [ way to get newvers to include kernel name info ] good one; that's the exact reason that i put the kernel name stuff as params to the newvers script. (in standard BSD systems, it's run with no args.) actually, it's not hard to extend this to include all of the compile-time flags in a table, and then to write a small utility to extract them. this can be useful, to, e.g. set NFS_SERVER appropriately in /etc/netstart *automatically* depending on whether NFS support is compiled into the kernel... (i can think of other uses, too: if multicast stuff compiled in, start up mrouted, etc.) i had diffs to do all of this, a while ago, but that was under like 0.0... as of right now, i don't have the time... 8-) maybe in a week. chris -- Chris G. Demetriou cgd@cs.berkeley.edu MENTALLY CONTAMINATED and proud of it!