From owner-freebsd-current Mon Aug 23 23:30: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by hub.freebsd.org (Postfix) with ESMTP id 1F4141588C for ; Mon, 23 Aug 1999 23:28:56 -0700 (PDT) (envelope-from ross@gilliam.users.flyingcroc.net) Received: (from ross@localhost) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) id XAA04729; Mon, 23 Aug 1999 23:28:20 -0700 (PDT) Date: Wed, 18 Aug 1999 12:03:33 -0700 (PDT) Message-Id: <199908240628.XAA04729@gilliam.users.flyingcroc.net> From: Chuck Gagnon To: "FreeBSD-current" Subject: bootparamd changed for use with inetd 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`@