Commit Graph

206 Commits

Author SHA1 Message Date
ru
ebcbf2084a Make it clear that section 8 also documents system management
procedures, not necessarily commands.

PR:		docs/35011
Obtained from:	NetBSD (partly)
2006-10-21 20:35:49 +00:00
ru
5b7cf06c1d Markup fixes. 2006-09-18 15:24:20 +00:00
danger
2228e9607e Remove redundant vnconfig(8) from SEE ALSO section as it is linked to
mdconfig(8) on RELENG_[56] and HEAD, which is referenced too.

Approved by: keramida (mentor), trhodes (mentor)
MFC after: 1 week
2006-09-01 08:30:03 +00:00
danger
978dd12712 Add nanobsd(8) manual page.
Reviewed by: ru
Approved by: trhodes (mentor), keramida (mentor)
MFC after: 1 week
2006-08-29 09:12:48 +00:00
flz
54b7b1d84e Backout this commit since it breaks startup and some scripts in
certain conditions. I haven't been able to find a better solution yet:

    - Set a two read-only variables (${prefix} and ${etcdir}). This is
    especially useful when using /etc/rc.d scripts with third-party
    software installed from ports.
    - Fix rc.d/sshd to work with openssh from ports using ${etcdir}
    instead of hardcoded /etc.
    - Reflect prefix/etcdir changes in rc.subr.8.

        src/etc/rc.d/sshd: rev 1.9 -> 1.10
        src/etc/rc.subr: rev 1.51 -> 1.52
        src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12

Approved by:	cperciva (mentor)
2006-08-22 11:17:29 +00:00
yar
0608345395 Improve mark-up: References to "start" as an rc.d method
should be tagged with ".Cm".  (Refs to "stop" are OK already.)

MFC after:	3 days
2006-07-24 10:07:27 +00:00
yar
0e343922c8 Don't forget to touch Dd. 2006-06-21 11:46:29 +00:00
yar
ad10a899ae Quite a number of rc.d scripts try to load kernel modules. Many
of them do that conditionally depending on kldstat.  The code is
duplicated all over, but bugs can be uniqie.

To make the things more consistent, introduce a new rc.subr function,
load_kld, which takes care of loading a kernel module conditionally.

(Found this lying for a while in my p4 branch for various hacks.)
2006-06-21 09:42:55 +00:00
flz
dc95de3e71 Reflect latest changes in rc.subr wrt prefix/etcdir variables being set
automatically by load_rc_config.

With help from:	ru (mdoc-fu)
Reviewed by:	brueffer
Approved by:	cperciva
2006-06-07 10:20:57 +00:00
flz
c728727d1b - Sync rc.subr with NetBSD.
- Merge some documentation bits.

Reviewed by:	brooks, simon (doc)
Approved by:	cperciva (mentor)
Obtained from:	NetBSD
MFC after:	3 days
2006-04-04 10:52:15 +00:00
yar
271439a3f1 Forgot to bump .Dd in the last commit. 2006-02-22 15:12:07 +00:00
yar
33f484fce3 Document the relation between $command and $foo_program.
PR:		docs/68453
MFC after:	3 days
2006-02-22 10:57:19 +00:00
luigi
7fe6d13c28 some updates to the manpage.
remove references to mdconfig/vnconfig, and remove
some of the references to floppies since they are rarely
used at all now.
2006-01-31 21:21:02 +00:00
ceri
e1d71bf7ff Fix the location of the initdiskless rc script.
Lose pointers to where these files were two major releases ago.

PR:		docs/90370
Submitted by:	Daniel Feenberg <feenberg at nber dot org>
Harassed by:	Daniel Gerzo <danger at rulez dot sk>
2005-12-30 14:43:31 +00:00
dougb
233424bff1 Bring this page of the manual more in line with reality
as to how things work currently.

Delete a lot of stale references.
2005-12-19 08:48:57 +00:00
dougb
156819c498 Remove rcconf.sh from /etc/rc.d, and instead load the configuration
as part of rc. Doing this, and the sourcing of rc.subr after we have
determined if we are booting diskless (and correspondingly run
rc.initdiskless if necessary) are safe, and actually allow fewer files
to be needed on the diskless box. This also allows variables from
the configuration to be available to rc itself, such as ...

Add a variable to rc.conf, early_late_divider, which designates the
script which separates the early and late stages of the boot process.
Default this to mountcritlocal, and add text to etc/defaults/rc.conf,
rc.conf(5) and diskless(8) which describes how and why one might want
to change this.

Reviewed by:	brooks
2005-12-10 20:21:46 +00:00
ru
8a2652d669 -mdoc sweep. 2005-11-18 10:56:28 +00:00
kientzle
720f36e2ac Use .Nx macro for NetBSD.
Thanks to: Ruslan Ermilov
2005-11-10 15:42:51 +00:00
kientzle
8ac32b507e Credit NetBSD as the source for the /rescue concept.
While I'm here, update my own email address.

Thanks to: Luke Mewburn for pointing out the oversight.
2005-11-10 06:36:06 +00:00
yar
4a93cc5bfd Use consistent punctuation and vertical indenting around .Dl's.
Wrap a too long line.
2005-10-26 04:20:18 +00:00
yar
82d988c3c8 Document that `reload' is not provided by default
yet it can be enabled when applicable.
2005-10-26 04:12:34 +00:00
yar
633be11491 Replace "/etc/make.conf" with references to make.conf(5)
where applicable.  The main reason for this change is that
the location of make.conf is not constant and can be
modified via __MAKE_CONF.  This change also improves
hyper-text linkage in our manpages.

MFC after:	2 weeks
2005-10-10 14:55:59 +00:00
hmp
a88594d818 Use 'manual page' instead of 'man page' for consistency.
Approved by:	re (hrs)
2005-06-30 13:04:25 +00:00
jkoshy
a047b79479 Substitute "kgdb" for "gdb -k". 2005-06-07 06:21:43 +00:00
ru
41e43fe860 Fixed xref. 2005-01-21 12:01:00 +00:00
ru
7a3e657c56 Sort sections. 2005-01-21 08:36:40 +00:00
trhodes
2f3725fd68 S_ISVTX -> S_ISTXT to reflect the code. 2005-01-18 01:27:44 +00:00
ru
c8158555ed NOPAM -> NO_PAM 2004-12-21 12:49:24 +00:00
mtm
15ba1cfe47 2004-10-07 14:06:23 +00:00
brooks
dd824cc52f Update the list of files involved in diskless booting.
Reminded by:	pjd
2004-09-29 05:28:48 +00:00
ru
933877b657 Fixed markup. 2004-07-09 10:08:03 +00:00
ru
9f45c1d92e mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
ru
6651f20e0d Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
imp
b49ce1f981 Document /var/run/dmesg.boot, which is created by the rc scripts. Many
people have suggested that we document this somewhere, and this was a common
suggestion.
2004-07-03 21:01:18 +00:00
ru
1cf1598667 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
mpp
c4a06c8e96 Spelling fixes. 2004-06-21 14:23:31 +00:00
ru
aa52a5a900 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
mtm
f32ed9ec71 NetBSD rev. 1.10
successful [is spelled] with only one l

NetBSD rev. 1.12
 Implement ``one'' prefix to allow a "one shot" operation as if
 ${rcvar}=yes yet all the other prerequisite tests are still performed.
 The existing ``force'' prefix is a sledgehammer that ignores all the
 prerequisite checks and always returns a zero exit status; this is a
 more gentle approach to the problem of "manipulate this disabled
 service without editing rc.conf(5)".

Obtained From:	NetBSD
2004-02-27 10:20:22 +00:00
pjd
8cb9638ef4 Path correction.
Approved by:	scottl (mentor)
2004-02-19 14:32:44 +00:00
ru
fcd3fde5ea Grammar. 2004-01-20 12:57:28 +00:00
ru
ad42658a8b Use a single style for share/man/ makefiles:
- Sort MAN and MLINKS in "dictionary" order ignoring case.

- For multi-value MAN and multi-pair MLINKS, put each value/pair
  on its own line, for easier sorting and so that further diffs
  are easier to see.
2004-01-20 10:27:23 +00:00
rwatson
1be90133bc Update the diskless(8) documentation to indicate that the use of the
kernel BOOTP options is *not* required if the boot loader can pass
network configuration information to the kernel using the kernel
environment.  As such, PXE doesn't require them.  However, the NFS
options are required in the kernel (previously not documented).

Tripped over by:	des
2004-01-10 22:38:54 +00:00
ru
1edcd1b018 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
simon
084778ce38 Move the rescue manpage, documenting the new rescue utilities in
/rescue, from section 7 to section 8.  The old rescue.7 file has been
simply subjected to "cvs rm", as there is no history to preserve.

Update the release documentation accordingly.

Requested by:	njl, ru
Most text by:	Tim Kientzle <kientzle@acm.org>
Reviewed by:	ru, doc@
Approved by:	ceri (mentor)
2003-07-28 21:06:38 +00:00
brooks
b8db4ad194 Allow diskless_remount files to contain path beginning with / which will
be mounted relative to the NFS root mountpoint.

Reviewed by:	dillon at backplane.com
MFC After:	3 days
2003-06-30 21:47:06 +00:00
charnier
4dd40cb974 The .Xr utility 2003-06-08 13:35:40 +00:00
ru
4b6cad665b Add missing markup bits. 2003-05-31 18:49:23 +00:00
hmp
d3fec55c99 Add an MLINK for rc.d(8) which points to rc(8). The former is
referenced by rc.subr(8).

Approved by: des (mentor), re (scottl)
2003-05-12 21:52:46 +00:00
dougb
632a97ab8a FreeBSD has no systrace(1), and our rc.subr does not support it.
Submitted by:	Simon L. Nielsen <simon@nitro.dk>
2003-04-22 05:13:55 +00:00
ru
ee0896bc97 There is no format(8) manual page available, but it would be really
nice to have, now that we have different semantics of initializing
disks on systems with BSD labels, SUN labels, and GPT partitions.
2003-04-16 12:11:01 +00:00