summaryrefslogtreecommitdiffstats
path: root/sbin/init
Commit message (Collapse)AuthorAgeFilesLines
* Give up on a tty if opening it's special file returns ENOENT like we do forjhb2002-09-271-1/+1
| | | | | | ENXIO. Glanced at by: imp, gallatin
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-3/+3
|
* can not -> cannot.ru2002-08-131-1/+1
|
* I should have committed this ages ago...mux2002-08-031-3/+15
| | | | | | Convert init(8) to use nmount() instead of mount() when it has to mount devfs. This doesn't happen normally, since the kernel is supposed to mount devfs itself.
* The .Nm utilitycharnier2002-07-061-16/+22
|
* o remove __Pimp2002-03-201-160/+64
| | | | | o Use ansi function definitions o unifdef -D__STDC__
* Remove 'register' keyword.obrien2002-03-201-18/+18
| | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Allow reboot during runcom.des2001-10-151-0/+3
| | | | | | PR: bin/28116 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> MFC in: 1 week
* Silence non-constant format string warnings by marking functionskris2001-08-191-9/+9
| | | | | | | as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-2/+2
| | | | with a trailing zero-width space: `e.g.\&'.
* mdoc(7) police:ru2001-08-071-1/+1
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-261-1/+1
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Remove whitespace at EOL.dd2001-07-151-11/+11
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix typo which could lead to memory leak.mikeh2001-06-201-1/+1
| | | | | PR: misc/28283 MFC after: 2 weeks
* Use new backup feature of install(1).ru2001-05-281-7/+1
|
* Back out most of revision 1.28: lists of diagnostics must use -diag,dd2001-04-131-4/+3
| | | | | | | not -tag. Instead, put a period after the error messages to aide those using dumb terminals not capable of properly displaying markup. Requested by: ru
* Make the list in the DIAGNOSTICS section "-tag" instead of "-diag":dd2001-04-101-2/+2
| | | | | | | the former makes it more obvious as to there the error message starts and the explanation begins. PR: 26431
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* Fix typo present since 1997: single used mode -> single user mode.asmodai2001-03-031-1/+1
|
* Fix a cosmetic problem with some very defensive programming: The devfsphk2001-02-081-1/+17
| | | | mount would show up as "/dev/", loose that trailing slash.
* Further tidy up the sbin/init and release builds.peter2001-01-011-28/+2
|
* This is not necessarily the correct fix, but at least sbin/init compilesphk2001-01-011-8/+11
| | | | in a sterile environment like "make release"
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* Explicitly document the fact that securelevel > 0 means that kernel modulesben2000-12-071-1/+5
| | | | | | | may not be (un)loaded. PR: 23350 Submitted by: Gordon Tetlow <gordont@bluemtn.net>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Improve the clarification of the handling of the securelevel.sheldonh2000-09-131-6/+2
| | | | Submitted by: bde
* Clarify the handling of the securelevel.sheldonh2000-09-121-8/+13
| | | | PR: 20974
* Mount DEVFS with no options.phk2000-08-261-1/+1
|
* Add MLINK init.8 --> securelevel.8alex2000-06-091-0/+1
| | | | | | Requested by: Brett Glass <brett@lariat.org> PR: 13792 Submitted by: nik
* Remove unused include.asmodai2000-05-011-1/+0
|
* Add include of errno.h where needed, remove extern int errno where not.imp2000-04-141-2/+0
| | | | These commits were inspired by a similar commit to netbsd.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Change DISTRIBUTION to match new world order.markm2000-02-291-1/+1
|
* detect deleted tty lines in /etc/ttys.alfred2000-02-191-1/+25
|
* Document that securelevel >= 2 clamps time changes to at most one second.nik1999-12-161-0/+4
| | | | | PR: docs/14449 Submitted by: James FitzGibbon <james@targetnet.com>
* Correct the ttys.5 and init.8 manpages with respect to the incorrectsheldonh1999-12-061-7/+20
| | | | | | | | | assumption that only getty processes can be managed. Describe the SysV-like ability to keep arbitrary long-running processes alive using a non-device first field in /etc/ttys. PR: 12767 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Finish up umntall support. init now passed an argument to thedillon1999-11-221-3/+8
| | | | | | | | | rundown script 'reboot' or 'single'. ISO support (which never worked) has been removed from mount_nfs. mount_nfs and umount now use mounttab, which allows umntall to work properly. The rc scripts now call umntall as appropriate. Submitted by: Martin Blapp <mb@imp.ch>
* FreeBSD kernel doesn't allow any process to decrease securelevel. So,kato1999-09-062-8/+1
| | | | | | | init(8) cannot decrease securelevel. The manual page explains this and single_user() doesn't try to downgrade kernel to insecure mode. Reviewed by: bde (manual page)
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Backup existing init(8) as /sbin/init.bak.ru1999-08-051-3/+9
| | | | | PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Fix a non-critical memory leak.ru1999-07-231-4/+6
| | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* "Cannot" is one word. "Can not" has a different meaning if takenmph1999-07-051-3/+3
| | | | literally.
* Turn System V command line syntax ``on'' by default.ru1999-07-012-12/+4
| | | | | Requested by: peter Reviewed by: des, billf
* Bring in System V run-level patches (turned off by default).ru1999-06-183-23/+97
| | | | | | While I'm here, fix some typos in the manpage. Requested by: des
* Init(8) will halt the system if sent USR1 signal,ru1999-06-162-8/+23
| | | | | | | | | or halt and turn the power off if sent SIGUSR2. PR: 5451 Submitted by: Leif Neland <leifn@image.dk> Reworked by: ru Reviewed by: -hackers
* Mention securelevel 3 as affecting ipfw and dummynet. Generalize commentghelmer1998-12-161-2/+11
| | | | | about fdisk and securelevel 2. PR: docs/7785
OpenPOWER on IntegriCloud