Commit Graph

10669 Commits

Author SHA1 Message Date
garbled
49a3869ae1 Import the config documentation from FreeBSD into the smm. Rather than
name the directory "02.config" as it historically was, name it config, so
that if we ever want to update this book for the modern age, we can move
chapters around, delete them, etc, without mass confusion.
2007-12-18 03:35:51 +00:00
rumble
a2d448e894 s/prop_array_t;/prop_array_t array;/ 2007-12-17 17:52:37 +00:00
joerg
60a3119281 Alias UTF-8 to utf8 for symmetry with latin1. 2007-12-17 14:06:57 +00:00
apb
802860abdb When MAKEDEV creates a memory file system, let it try mount_tmpfs(8)
before falling back to mount_mfs(8).  Also calculate required number
of inodes more accurately.

Discussed in tech-userlevel.
2007-12-15 21:33:13 +00:00
apb
beae89cd6d In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.
2007-12-15 17:28:09 +00:00
pavel
83ae3a0049 Note the socket(2) syscall change. 2007-12-15 16:25:46 +00:00
pavel
2c8b453fd0 Complete the list of libraries needed for 3.0 binary compatibility. From
the emulators/compat30 package, suggested by Johnny Lam.
2007-12-15 16:15:26 +00:00
apb
241ba90c52 Add doc2html support for Bro/Brc/Brq. 2007-12-15 14:57:39 +00:00
apb
d38a66619d Fix the definition of .Fl. Now this construct works:
.Ic boot Fl c .

Previously, the space between "boot" and "-c" was missing from the
HTML output.
2007-12-15 14:48:40 +00:00
pavel
474470307d Update URLs after website reorganization. patch by OKANO Takayoshi, from
PR 37070.
2007-12-14 21:15:52 +00:00
apb
4ed89c84f0 Synchronise shared text between man8/boot.8, man8/man8.i386/boot.8,
man8/man8.i386/dosboot.8, and man8/man8.i386/pxeboot.8.

* In all:
  - First few lines of each man page should be .Dd, .Os, .Dt, .Nm;
  - Use Nx; new sentence, new line; serial comma;
  - Update comments about which files to keep in sync.
* In MI boot(8):
  - add reference to architecture-specific boot(8);
  - add commented-out reference to boot.cfg(5);
  - reinstate BUGS heading that was lost when the MI boot.8 was
    created from i386 boot.8.
* In i386 boot.8:
  - mention -x and -z flags;
  - we can boot from media other than floppy, or from the network;
  - remove first paragraph in BUGS section now that an MI boot(8)
    man page exists.
* In i386 dosboot.8 and pxeboot.8:
  - mention -c, -x, and -z flags.
2007-12-14 12:03:53 +00:00
xtraeme
04f935d910 Fix pmf_device_register() prototype, this returns bool and not void. 2007-12-13 15:37:33 +00:00
yamt
fa92fe776c document whatis. 2007-12-13 02:45:51 +00:00
xtraeme
c10e464ab3 acpiecdt* at acpi? is required now. HI JOERG! 2007-12-12 21:12:45 +00:00
xtraeme
a239f94d36 Rename battery(4) to battery_pmu(4), because at least we know that is
only specific to pmu.
2007-12-12 20:26:23 +00:00
macallan
2204867a54 add a simple battery(4) man page 2007-12-12 20:09:27 +00:00
apb
d38013a8c2 Document CPUFLAGS, and note that CFLAGS shold not be set in mk.conf. 2007-12-12 19:52:02 +00:00
lukem
e226e0f887 It's "its" for possessive, not "it's". 2007-12-11 14:06:04 +00:00
elad
98c50c91dd Add TAILQ_CONCAT() and STAILQ_CONCAT(), from FreeBSD. 2007-12-11 11:24:21 +00:00
agc
755a2e55e0 Move to a resizable dynamic array for the targets that the initiator
can find.

If the initiator discovers too many targets for it to handle
(currently more than 16), then truncate to the maximum with a loud
warning message, rather than aborting.

In practice, this means that multiple targets can now be used with the
NetBSD iSCSI initiator.

% ls -laR /mnt/inspiron1300.wherever.co.uk/
total 192
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 .
drwxr-xr-x  2 root  wheel    0 Jan  1  1970 ..
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 target0
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 target1

/mnt/inspiron1300.wherever.co.uk/target0:
total 576
drwxr-xr-x  2 agc  agc        512 Dec 11 08:53 .
drwxr-xr-x  2 agc  agc        512 Dec 11 08:53 ..
lrw-r--r--  1 agc  agc         44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc          9 Dec 11 08:53 ip -> 10.4.0.42
lrw-r--r--  1 agc  agc         16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  104857600 Dec 11 08:53 storage
lrw-r--r--  1 agc  agc         43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target0
lrw-r--r--  1 agc  agc          8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r--  1 agc  agc          4 Dec 11 08:53 version -> 0

/mnt/inspiron1300.wherever.co.uk/target1:
total 576
drwxr-xr-x  2 agc  agc       512 Dec 11 08:53 .
drwxr-xr-x  2 agc  agc       512 Dec 11 08:53 ..
lrw-r--r--  1 agc  agc        44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc         0 Dec 11 08:53 ip ->
lrw-r--r--  1 agc  agc        16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  52428800 Dec 11 08:53 storage
lrw-r--r--  1 agc  agc        43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target1
lrw-r--r--  1 agc  agc         8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r--  1 agc  agc         4 Dec 11 08:53 version -> 0
%
2007-12-11 09:07:36 +00:00
reed
cc3ab0502a Add MFC. A FreeBSD-ism that is often used outside of FreeBSD. 2007-12-10 16:14:53 +00:00
jmcneill
0e8ccf6ed2 Remove trailing comma in SEE ALSO section, bump date. 2007-12-10 12:49:10 +00:00
jmcneill
75a94c407a Add power management framework man page. 2007-12-09 20:37:42 +00:00
yamt
9390360597 should -> can 2007-12-09 08:53:57 +00:00
apb
368240a3c4 regen 2007-12-09 08:46:57 +00:00
apb
6d3d3ebe02 * MAKEDEV's "-M -M" option was always intended for use only by init(8).
Improve the documentation around that.
* The "-p pax", "-m mknod", and "-s" (mtree specfile) options should
  always have been mutually exclusive.  Now enforce that.
* The "-f" option didn't ever work with pax or mtree mode; document that,
  and make it an error to try something that won't work.
* Make pax mode the default, if no other options prevent this, and if
  "pax -w -M" appears to be usable.
* Add missing options to a usage message.
2007-12-09 08:46:16 +00:00
yamt
478ca46add document LWP_CACHE_CREDS. 2007-12-09 08:31:58 +00:00
wiz
3c088505e9 Spelling. 2007-12-08 11:09:58 +00:00
wiz
64617fb7d8 New sentence, new line. Sort SEE ALSO. Use standard headers.
Replace links from iic(4) with iic(9) because the former doesn't exist.
XXX: battery(4) and smartbat(4) don't exist either.
2007-12-08 11:06:52 +00:00
ad
3aac377195 Fix pasto. 2007-12-07 14:24:21 +00:00
xtraeme
820f120b52 Add ENVSYS_DRIVE_MIGRATING for ENVSYS_DRIVE sensors, this is for RAID
volumes that are migrating such as when you change the stripe size.

While I'm here use the same string than we had in the old framework to
report status "online" vs "drive is online", because the sensor might be
a RAID volume and not just a drive.
2007-12-07 11:47:49 +00:00
xtraeme
79511422f5 Typo: indepenent -> independent 2007-12-06 10:36:37 +00:00
xtraeme
7b695de5c1 Typo: higest -> highest 2007-12-06 10:32:12 +00:00
xtraeme
9925ec4aa7 typo: futher -> further 2007-12-06 10:27:20 +00:00
ad
7d67c53f8d Minor corrections, from David P. Reese, Jr. 2007-12-05 18:12:09 +00:00
ad
383c1bbc65 Minor corrections. 2007-12-05 18:10:00 +00:00
xtraeme
b831aabcdc Mention arcmsr(4). 2007-12-05 12:30:54 +00:00
ad
e1b5d7773c Add links for softint_* 2007-12-05 05:52:21 +00:00
ad
96f20655cf Sync with reality and supply a large dose of hot air. 2007-12-05 05:49:59 +00:00
ad
d3b027e04e Xr spl(9) 2007-12-05 05:24:28 +00:00
ad
0c655cb964 Note that rw locks can be taken from a soft interrupt handler. 2007-12-05 05:22:22 +00:00
ad
55bfbff8a0 Sort. 2007-12-05 05:20:38 +00:00
ad
6a7a863131 + mutex_spin_enter, mutex_spin_exit 2007-12-05 05:19:34 +00:00
ad
64bd285067 Sync with reality. (Apolgies for moving the goalposts slightly but it took
a long time to decide on and implement the new interrupt model.)
2007-12-05 05:17:53 +00:00
ad
851c98e8ed +splsoftbio(9) 2007-12-05 04:53:19 +00:00
ad
f9ff149878 - See the spl(9) manual page for a description of interrupt priority levels.
- splbio -> splvm
2007-12-05 04:50:49 +00:00
ad
394d36de78 sys/param.h ??? 2007-12-05 04:49:26 +00:00
ad
7ff112988c IPL_BIO -> IPL_VM 2007-12-05 04:48:57 +00:00
ad
be843f3b0a Sync with reality. 2007-12-05 04:47:56 +00:00
xtraeme
e1d9000305 arc -> arcmsr 2007-12-05 00:22:12 +00:00