Commit Graph

199 Commits

Author SHA1 Message Date
Yaroslav Tykhiy
016c675db6 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
Yaroslav Tykhiy
a5fd4f0b19 Don't forget to touch Dd. 2006-06-21 11:46:29 +00:00
Yaroslav Tykhiy
1679c7f4f4 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
Florent Thoumie
8d2e10d0b9 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
Florent Thoumie
46587ab898 - 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
Yaroslav Tykhiy
c6136be413 Forgot to bump .Dd in the last commit. 2006-02-22 15:12:07 +00:00
Yaroslav Tykhiy
91387563e2 Document the relation between $command and $foo_program.
PR:		docs/68453
MFC after:	3 days
2006-02-22 10:57:19 +00:00
Luigi Rizzo
2f4f3e134b 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 Davies
fde4d5083c 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
Doug Barton
9eb997817b 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
Doug Barton
57e561c083 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
Ruslan Ermilov
78ad54210f -mdoc sweep. 2005-11-18 10:56:28 +00:00
Tim Kientzle
4a483830a2 Use .Nx macro for NetBSD.
Thanks to: Ruslan Ermilov
2005-11-10 15:42:51 +00:00
Tim Kientzle
2d8e1893d4 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
Yaroslav Tykhiy
8d52cc90fb Use consistent punctuation and vertical indenting around .Dl's.
Wrap a too long line.
2005-10-26 04:20:18 +00:00
Yaroslav Tykhiy
5a3c72ce8f Document that `reload' is not provided by default
yet it can be enabled when applicable.
2005-10-26 04:12:34 +00:00
Yaroslav Tykhiy
08b9134350 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
Hiten Pandya
655f01f6df Use 'manual page' instead of 'man page' for consistency.
Approved by:	re (hrs)
2005-06-30 13:04:25 +00:00
Joseph Koshy
f395d8386a Substitute "kgdb" for "gdb -k". 2005-06-07 06:21:43 +00:00
Ruslan Ermilov
a3f9c9fc03 Fixed xref. 2005-01-21 12:01:00 +00:00
Ruslan Ermilov
9cbda59000 Sort sections. 2005-01-21 08:36:40 +00:00
Tom Rhodes
40eee9fe09 S_ISVTX -> S_ISTXT to reflect the code. 2005-01-18 01:27:44 +00:00
Ruslan Ermilov
b5b0bba4df NOPAM -> NO_PAM 2004-12-21 12:49:24 +00:00
Mike Makonnen
028a5b9259 2004-10-07 14:06:23 +00:00
Brooks Davis
7cfd02d973 Update the list of files involved in diskless booting.
Reminded by:	pjd
2004-09-29 05:28:48 +00:00
Ruslan Ermilov
eec3e03e41 Fixed markup. 2004-07-09 10:08:03 +00:00
Ruslan Ermilov
2410103c1d mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
Ruslan Ermilov
1c85060a13 Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
Warner Losh
3d595e7e8a 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
Ruslan Ermilov
5203edcdc5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
Mike Pritchard
61fffde188 Spelling fixes. 2004-06-21 14:23:31 +00:00
Ruslan Ermilov
bf7f20c2b6 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
Mike Makonnen
4f779fd6b7 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
Pawel Jakub Dawidek
6babc58b2f Path correction.
Approved by:	scottl (mentor)
2004-02-19 14:32:44 +00:00
Ruslan Ermilov
568fb8796f Grammar. 2004-01-20 12:57:28 +00:00
Ruslan Ermilov
b760de9691 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
Robert Watson
738d91ba76 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
Ruslan Ermilov
743d5d518c mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
Simon L. B. Nielsen
61860dd771 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 Davis
a83659958b 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
Philippe Charnier
c42ce50d6a The .Xr utility 2003-06-08 13:35:40 +00:00
Ruslan Ermilov
bdf95cdef0 Add missing markup bits. 2003-05-31 18:49:23 +00:00
Hiten Pandya
5bfa1f0a67 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
Doug Barton
62bb7f3301 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
Ruslan Ermilov
568dc1b801 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
Giorgos Keramidas
2ff5429d8f Add a tiny manpage to make sure users aren't surprised when they
search for MAKEDEV, now that it's deprecated.
2003-03-25 15:07:01 +00:00
Christian Brueffer
980243565f Remove MAKEDEV.8. MAKEDEV itself has been nuked some time ago.
Approved by:		ceri (mentor), phk
Not objected by:	ru
2003-03-23 19:02:41 +00:00
Ruslan Ermilov
ace5be682d mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
Jens Schweikhardt
57bd0fc6e8 english(4) police. 2002-12-27 12:15:40 +00:00
Matthew Dillon
c2095e2b12 Bring the diskless manual page more up-to-date. It still needs a lot of work. 2002-12-23 18:44:22 +00:00