Date: Thu, 14 Sep 2000 14:44:42 -0600 From: Warner Losh <imp@village.org> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: current@FreeBSD.ORG Subject: Re: SMPNG kernel on UP Message-ID: <200009142044.OAA99073@harmony.village.org> In-Reply-To: Your message of "Thu, 14 Sep 2000 16:42:00 EDT." <200009142042.QAA15287@khavrinen.lcs.mit.edu> References: <200009142042.QAA15287@khavrinen.lcs.mit.edu> <200009141941.MAA86101@pike.osd.bsdi.com> <200009141946.NAA98535@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200009142042.QAA15287@khavrinen.lcs.mit.edu> Garrett Wollman writes: : <<On Thu, 14 Sep 2000 13:46:44 -0600, Warner Losh <imp@village.org> said: : > Hmmm, they look good to me. Maybe Mark's system doesn't have group : > operator at gid 5. That's one bad thing about the new DEVFS: it : > appears to enshrine things like this in the kernel... : : It would only take a small amount of Makefile magic to fix : this... something like: : : PASSWD?= /etc/passwd : GROUP?= /etc/group : : uidgid.h: ${PASSWD} ${GROUP} : perl -ne 'split(/:/); print ("#define\tUID_", uc($_[0]), "\t", \ : $_[2], "\n");' ${PASSWD} >${.TARGET} : perl -ne 'split(/:/); print ("#define\tGID_", uc($_[0]), "\t", \ : $_[2], "\n");' ${GROUP} >>${.TARGET} : : ...add this to <bsd.kmod.mk> and include "uidgid.h" as necessary in : source files. Hmmm, I like it... But it does suffer from one problem that we already have enough of in our tree. The build on one system, install on another problem. It would be better than the current situtation. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009142044.OAA99073>