Date: Wed, 3 Jan 1996 21:53:15 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: phk@critter.tfs.com (Poul-Henning Kamp) Cc: nox@jelal.hb.north.de, bde@zeta.org.au, hackers@freebsd.org Subject: Re: boot from sd1? Message-ID: <199601031123.VAA07492@genesis.atrad.adelaide.edu.au> In-Reply-To: <532.820656893@critter.tfs.com> from "Poul-Henning Kamp" at Jan 3, 96 09:14:53 am
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp stands accused of saying: > > > Heyy... maybe this is a silly idea :) but what about adding the > > root device to the list of things configurable with -c? default (-1?) > > is whatever the boot code (bios) guessed like its now, if thats wrong > > (`cannot mount root') simply reboot with -c and tell the kernel where > > it really is. then write this back in dset -q... > > My plan was to get somebody to make a sysctl editor to go along with the > userconfig editor, and make it a sysctl variable :-) Ok, so I should know better than to open my big mouth, but Poul, if you can answer the following questions, I'll add sysctl variable support to userconfig() and visuserconfig() AQAP. My -current system at work just got turned into a wordprocessor, so I be a week or so in doing it 8( All of these are in the context of the userconfig() function: 1) How do I obtain a list of all of the sysctl variables? 2) How do I read the value of a sysctl variable? 3) How do I determine what is a safe value for a given sysctl variable? 4) How do I write the value of a sysctl variable? In the context of dset: 1) How do I write the default value of a sysctl variable? As far as answers are concerned, it's fair enough for you to say "XXX does it in the same context, go look at that". -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601031123.VAA07492>