From owner-freebsd-current Wed Aug 18 11:59:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail2.ev1.net (smtp.ev1.net [216.88.76.64]) by hub.freebsd.org (Postfix) with ESMTP id CD17815897 for ; Wed, 18 Aug 1999 11:59:09 -0700 (PDT) (envelope-from gagnocg@ev1.net) Received: from hal [216.88.79.74] by mail2.ev1.net (SMTPD32-5.04) id A2D44190134; Wed, 18 Aug 1999 14:00:36 CDT Date: Wed Aug 18 14:11:04 1999 From: Chuck Gagnon To: "FreeBSD-current" Subject: bootparamd changed for use with inetd X-Mailer: Spruce 0.4.8a for X11 w/smtpio 0.5.8 Message-Id: <199908181400.SM00146@hal> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've dug through the archives and found no mention of this subject. Are there any political/technical reasons why bootparamd was not set up to work with inetd? If the answer is no, I've included a patch for /usr/src/usr.sbin/bootparamd/bootparamd/main.c that allows it to work this way. I was also wondering if it would be more correct to put it in libexec under the name rpc.bootparamd if this patch were accepted? This does not break the ability to run it standalone. here is an example inetd.conf line I use: bootparamd/1 dgram rpc/udp wait root /usr/libexec/rpc.bootparamd rpc.bootparamd and under current naming sceme it would be: bootparamd/1 dgram rpc/udp wait root /usr/sbin/bootparamd bootparamd It accually boots my sparc10 just fine. In fact I can boot the sparc over 10T from my FBSD box faster than it boots from local disk :-) -- any theories on why? --- Chuck Gagnon (gagnocg@ev1.net) --- cut here ------ cut here ------ cut here --- begin 644 patch-aa M+2TM(&UA:6XN8RYOPHM"5-60UA04E0@*G1R86YS<#L*+0EI;G0@:3L*+0ES=')U8W0@ M:&]S=&5N="`J:&4["BT)PHM"0ER;W5T95]A9&1R(#T@:6YE=%]A M9&1R*&]P=&%R9RD["BT)"6)R96%K.PHM"2`@("`@('T@96QS92!["BT)"6AE M(#T@9V5T:&]S=&)Y;F%M92AO<'1APHK("`@(&-A2AH92T^:%]A9&1R+"`H8VAAPHK("`)("`@97)R>"@Q+"`B;F\@F5O9BAFPHK("`@(&9R;VU?:6YE=&0@/2`P.PHK("`@('-O8VL@/2!24$-?04Y94T]# M2SL**R`@("!PF5R M;R@H8VAAF5O M9B!FF5O M9B`H"@Q+"`B=6YA8FQE('1O(')E9VES M=&5R("A"3T]44$%204U04D]'+"!"3T]44$%204U615)3+"!U9'`I(BD["BL@ M('T**PHK("!I9B`HPHK("`@(&=E=%]M>6%D M9')E5]A9&1R+G-I;E]A9&1R M+G-?861DF5O9B`H"@Q+"`B=6YA8FQE('1O(')E9VES M=&5R("A"3T]44$%204U04D]'+"!"3T]44$%204U615)3+"!U9'`I(BD["B`* M+0ES=F-?"@Q+"`B&ET*#$I.PHK("!F<')I;G1F*'-T9&5R&ET*#$I.PHK?0HK"BMV;VED"BMC;&5A;G5P M*"D**WL**R`@*'9O:60I<&UA<%]U;G-E="A"3T]44$%204U04D]'+"!"3T]4 M4$%204U615)3*3L**R`@97AI="@P*3L**WT**PHK=F]I9`HK=7!D871EPHK("!U<&1A=&5S=&%T*"D["BL@(&EF("@A('-T871?:7-?:6YI="D* M*R`@("!S=&%T7VEN:70H*3L**R`@