Commit Graph

248 Commits

Author SHA1 Message Date
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
Ruslan Ermilov
463cfa804d Fixed the abuses of .Ql visible on stderr in troff mode.
PR:		docs/37176
2002-12-23 16:04:51 +00:00
Ruslan Ermilov
8d5d039f80 Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov
d962d52ac0 mdoc(7) police: scheduled sweep.
Approved by:	re
2002-11-29 11:39:20 +00:00
Gordon Tetlow
54e347fb3b Update rc(8) manpage to reflect rc.d
Add an rc.subr(8) manpage
Hook rc.subr.8 up to the build.

Submitted by:	Mike Makonnen <mtm@identd.net>
Approved by:	re@ (bmah)
Obtained from:	NetBSD
2002-11-21 20:12:05 +00:00
Giorgos Keramidas
f09b82aa1a crash(8) is a manual page, not a `section'. 2002-10-21 01:27:41 +00:00
Giorgos Keramidas
f0f3178bb8 Minor typo fixes. 2002-10-21 01:24:10 +00:00
Giorgos Keramidas
f19c72095f Use .Ed to terminate .Bd display. 2002-10-21 01:13:46 +00:00
Dima Dorfman
99253b64fb Correct the exports(5) example to use -ro in the paragraph that talks
about how exporting / and /usr works even if they're read-only.

PR:		42076
Submitted by:	Marco Molteni <molter@tin.it>
2002-10-02 02:07:08 +00:00
Masafumi Max NAKANE
925850905b Fix typo. 2002-09-21 08:32:07 +00:00
Gregory Neil Shapiro
d87e0e8e23 Deprecate the use of sendmail_enable="NONE" as it adversely affects the
new rcNG effort.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-09-03 22:15:57 +00:00
Jens Schweikhardt
d4bbfee298 Insert missing 'are' to fix grammar bogon.
MFC after:	3 days
2002-08-20 14:43:10 +00:00
Ruslan Ermilov
a654c53e16 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
Ruslan Ermilov
ad5ca2e1b7 mdoc(7) police: revert to a valid construct. 2002-08-13 14:42:24 +00:00
Ruslan Ermilov
8cdc6c3a7c mdoc(7) police: removed hard sentence break. 2002-08-13 14:39:26 +00:00
Philippe Charnier
8d74f63d1e The .Nm utility 2002-07-14 14:58:11 +00:00
Archie Cobbs
c05b5b0453 Grammar nit: treat "contents" as plural. 2002-05-31 22:26:19 +00:00
Ruslan Ermilov
29507f4943 mdoc(7) police: polish revision 1.17 changes. 2002-05-30 10:09:15 +00:00
Gregory Neil Shapiro
b9888709dd Add a warning regarding localhost-only listening daemons inside jails.
Apparently binding only to 127.0.0.1 inside of a jail actually binds
to the jail IP address as well (in effect, bind to all available
interfaces in the jail).

Submitted by:	Helge Oldach <test-smtp@oldach.net>
MFC after:	1 day
		pending RE approval
2002-05-22 16:37:32 +00:00
Tom Rhodes
0e85d620bc More file system > filesystem 2002-05-16 05:21:58 +00:00
Dima Dorfman
065c12dd5f PC98 still uses wd#, so resurrect the wd# entry and mark is "pc98 only".
Noticed by:	bde (four months ago)
2002-05-06 07:48:36 +00:00
Ruslan Ermilov
b25a566d47 Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.
Ensure all standard targets honor SUBDIR.  Now `make obj' descends into
SUBDIRs even if NOOBJ is set (some descendants may still need an object
directory, but we do not have such precedents).  Now `make install' in
non-bsd.subdir.mk makefiles runs `afterinstall' target _after_ `install'
in SUBDIRs, like we do in bsd.subdir.mk.  Nothing depended on the wrong
order anyway.

Fixed `distribute' targets (except for the bsd.subdir.mk version) so that
they do not depend on _SUBDIR; `distribute' calls `install' which already
depends on _SUBDIR.

De-standardize `maninstall', otherwise manpages would be installed twice.
(To be revised later.)
2002-04-23 09:03:56 +00:00
Gregory Neil Shapiro
3bf762b7f6 Non-sendmail users use the FreeBSD sendmail startup functionality to start
alternative MTAs.  Therefore, always install rc.sendmail, regardless of
NO_SENDMAIL make.conf setting.  Users can still set mta_start_script to a
different script.

This commit is after a repo-copy of src/etc/sendmail/rc.sendmail to
src/etc/rc.sendmail.

Noticed by:	Calvin NG <calvinng@brel.com>
MFC after:	3 days
2002-04-21 20:32:28 +00:00
Ruslan Ermilov
bda79b63d6 Fixed mdoc(7) warnings visible in troff mode only.
Spotted by:	Rich Morin <rdm@cfcl.com>
2002-04-17 07:37:42 +00:00
Tom Rhodes
a8f838798e intro(8) is lacking a command status explanation, added.
PR:	36448
No objections from:	ru
MFC after:	3 days
2002-04-09 21:05:18 +00:00
Gregory Neil Shapiro
619b80c4e6 Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail.  The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed.  A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA.  For backward compatibility, it will default to
/etc/rc.sendmail.  The specified script is called out of /etc/rc after
checking to make sure it exists.  A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by:	-current, -stable, obrien, peter, ru
MFC after:	1 week
2002-04-05 02:30:49 +00:00
Luigi Rizzo
afc743aebd More details on how to write a crunch.conf file for PicoBSD,
and document the "import_files" option.
2002-03-21 03:15:47 +00:00
Crist J. Clark
6ee2a895d6 Add a paragraph break I missed in my last update. 2002-03-20 09:39:37 +00:00
Ruslan Ermilov
b8523876ac mdoc(7) police: tidy up. 2002-03-18 12:04:52 +00:00
Ruslan Ermilov
6c19d127df mdoc(7) police: tidy up. 2002-03-18 10:34:43 +00:00
Crist J. Clark
eb35eb2626 Add documentation for rc.early(8).
PR:		misc/35992
MFC after:	3 days
2002-03-17 09:14:54 +00:00
Luigi Rizzo
23519ffa51 Bunch of manpage fixes from Bruce Montague. 2002-03-15 09:02:26 +00:00
Dima Dorfman
53710503e9 The chapter on kernel debugging is now in the Developers' Handbook.
Add a trailing slash to a URL while I'm here.

PR:		35637
Submitted by:	Gary W. Swearingen <swear@blarg.net>, setantae@submonkey.net
2002-03-10 09:15:22 +00:00
Luigi Rizzo
95651ec70e Forgot to update the date.
The manpage describes the latest batch of changes, and especially the
runtime config was totally different before.
2002-03-09 20:18:31 +00:00
Luigi Rizzo
27530a537c Lots of updates on the install process, detailing how to
install PicoBSD on hard disks and CDROM images, and on the
bootstrap sequence and the places where you can customise
a PicoBSD image.

Now if some of the -doc guys want to put this stuff in a nice
handbook page, that would be extremely useful!
2002-03-09 20:16:06 +00:00
Luigi Rizzo
af33f26465 Update manpage to reflect reality. 2002-02-15 07:47:39 +00:00
Ruslan Ermilov
491a842962 yp(4) -> yp(8).
PR:		docs/30797
2002-01-14 16:59:03 +00:00
Ruslan Ermilov
0432abee15 Convert to man4/Makefile style. 2002-01-14 16:53:43 +00:00
Ruslan Ermilov
e66767666a mdoc(7) police: tidy up the markup. 2002-01-14 16:07:10 +00:00
Ruslan Ermilov
5e895bf381 mdoc(7) police: sort xrefs. 2002-01-10 08:16:58 +00:00
Dima Dorfman
ecfef94723 MFalpha 1.18: Bring this closer to reality by removing mention of wd#
and adding ATA stuff.
2002-01-07 05:45:38 +00:00
Dima Dorfman
10a5b56b7a ATAPI CDROM drives are acd#, not act#. 2002-01-07 05:43:31 +00:00
Ruslan Ermilov
79731c7b1b mdoc(7) police: Add missing markup bits for revisions 1.12 and 1.13. 2001-12-07 10:36:38 +00:00
Robert Watson
f3e5e31ef3 Mention entropy_dir="NO" in diskless.8, since /var is an md-backed
file system and as such will not preserve its contents across boot.
2001-11-27 21:35:47 +00:00
Robert Watson
2e6c92ffce Update diskless.8 to refer to 'device md' instead of 'options MFS'; in
-CURRENT, md devices with FFS on top are used in the diskless boot process
instead of MFS.
2001-11-27 20:47:38 +00:00
Ruslan Ermilov
c2ff9625d0 Simplify. 2001-10-25 08:50:06 +00:00
Ruslan Ermilov
94ba280c59 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
Ruslan Ermilov
6575e6daae mdoc(7) police: expand plain text xrefs. 2001-08-08 11:48:28 +00:00
Jens Schweikhardt
c1f3e4bf21 Removed whitespace at end-of-line; no content changes. I simply did
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'

BTW, what editors are the culprits? I'm using vim and it shows
me whitespace at EOL in troff files with a thick blue block...

Reviewed by:	Silence from cvs diff -b
MFC after:	7 days
2001-07-14 19:41:16 +00:00
Ruslan Ermilov
3d45e180f4 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:31:11 +00:00
Dima Dorfman
70d51341bf mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
Ruslan Ermilov
3dcd2b7ec5 mdoc(7) police: simplify the fix in rev. 1.25. 2001-07-04 14:54:38 +00:00