From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4773CFF5.9010103@kix.es> Date: Thu, 27 Dec 2007 17:16:53 +0100 From: =?ISO-8859-1?Q?=22Rodolfo_=5C=22kix=5C=22_Garci=ADa=22?= User-Agent: Icedove 1.5.0.14pre (X11/20071018) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] CPU Server References: <41c4248308e4e9b0cf3e23bb56a282ac@quanstro.net> In-Reply-To: <41c4248308e4e9b0cf3e23bb56a282ac@quanstro.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 22bab24e-ead3-11e9-9d60-3106f5b1d025 Hola, IMHO we can make this changes: 1. Create a new file /cfg/example/cpustart with this contents: # The auth services # aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service il # aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp # To start rio # aux/mouse $mouseport # aux/vga -l $vgasize # exec rio 2. Add this lines to end of the /rc/bin/cpurc.local file # bind the devices to use # for (i in m i S t) # bind -a '#'^$i /dev >/dev/null >[2=1] At the other hand, why in the /cfg/example/cpurc file the "dns" command is "ndb/dns -s" and not "ndb/dns -r". Probably we need to leave both lines: # Uncomment if you are a DNS server # ndb/dns -s # Uncomment if you are DNS resolver # ndb/dns -r After the comments, I will create a patch and I will make the changes in the Wiki. Thanks. Saludos. erik quanstrom wrote: >>> This lines are not in the /cfg/$sysname/cpurc file >>> >>> >> iirc these lines go into /rc/bin/cpurc, not /cfg/$sysname/cpurc >> >> > > actually, neither exactly reflects the state of the current dist's cpurc. > there are provisions for "site-specific startup", "cpu-specific startup" > (/cfg/$sysname/cpurc) and "cpu-specific late startup" > (/cfg/sysname/cpustart). > > but since it's just a shell script, you can change it any way you'd like. > i find it a bit easier to manage changes with big switch statement. > a vast majority of our cpu servers don't have a case in the switch > anyway. > > but then again, i'm a well-known luddite. ;-) > > - erik >