summaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware/kget/README
diff options
context:
space:
mode:
Diffstat (limited to 'release/picobsd/tinyware/kget/README')
-rw-r--r--release/picobsd/tinyware/kget/README44
1 files changed, 25 insertions, 19 deletions
diff --git a/release/picobsd/tinyware/kget/README b/release/picobsd/tinyware/kget/README
index 9490dd747969..2acc5ea552d3 100644
--- a/release/picobsd/tinyware/kget/README
+++ b/release/picobsd/tinyware/kget/README
@@ -1,15 +1,12 @@
-1999.01.06
+1998.06.29
What is it?
-----------
-This utility allows to gather device configuration which possibly
-was changed in userconfig (-c) session, and to save it to /kernel.config
-file on startup floppy, so that when user boots next time, the
-settings will automatically be changed.
-
-This program uses sysctl(3) interface to retrieve data from the kernel -
-the machdep.uc_devlist sysctl was added Jan 5 1999 to 3.0-current.
+This utility is taken almost in its entirety from /stand/sysinstall. It allows
+to gather device configuration which possibly was changed in userconfig (-c)
+session, and to save it to /kernel.config file on startup floppy, so that when
+user boots next time, the settings will automatically be changed.
How can I use it?
-----------------
@@ -17,25 +14,34 @@ How can I use it?
The best way is to call it from /etc/rc in such phase when the startup floppy
is mounted, and redirect its output to /kernel.config on the floppy.
-Usage is straightforward:
+NOTE: You need first to create symbols' list, using 'dumpnlist' utility, and
+place it in /stand/symbols.
- kget output_filename
+Usage is straightforward:
-where output_filename is either regular file (then it's created or
-overwritten), or a "-" meaning standard output.
+ kget -incore|kernel_name output_filename [vanilla]
In simplest form you can do
- kget -
+ kget -incore -
+
+to list current in core parameters, or
+
+ kget kernel_file -
+
+to see settings of another kernel.
+
+or
-to list current in-core parameters, or
+ kget -incore - /stand/vanilla
- kget /kernel.config
+to produce list of changes from 'vanilla' configuration. You can redirect this
+list to /kernel.config file with no changes - it already contains required
+keywords.
-to produce list of changes from 'vanilla' configuration and write
-it to /kernel.config file - it already contains required keywords.
+Credits go to Jordan K. Hubbard for 95% of this code. The rest is mine :-)
Andrzej Bialecki
-<abial@freebsd.org>
+<abial@nask.pl>
-$Id: README,v 1.3 1998/11/01 20:19:40 abial Exp $
+$Id: README,v 1.2 1998/08/11 06:53:21 abial Exp $