aboutsummaryrefslogtreecommitdiff
path: root/sbin/init
Commit message (Collapse)AuthorAgeFilesLines
* Add section number to .XrPhilippe Charnier2003-06-081-1/+1
| | | | Notes: svn path=/head/; revision=116035
* There are 5 securelevels, not 4.Giorgos Keramidas2003-03-261-1/+1
| | | | | | | | PR: docs/50049 Submitted by: Colin Percival <cperciva@sfu.ca> Notes: svn path=/head/; revision=112652
* mdoc(7) police: markup laundry.Ruslan Ermilov2003-02-231-2/+4
| | | | Notes: svn path=/head/; revision=111285
* Back out the previous commit, since there could be dire consequences ifBrian Feldman2002-12-171-4/+0
| | | | | | | /etc/rc were accidentally executed (as requested by other committeers). Notes: svn path=/head/; revision=108002
* /home/green/tmp/cvsSFosXgBrian Feldman2002-12-171-0/+4
| | | | Notes: svn path=/head/; revision=107994
* Give up on a tty if opening it's special file returns ENOENT like we do forJohn Baldwin2002-09-271-1/+1
| | | | | | | | | ENXIO. Glanced at by: imp, gallatin Notes: svn path=/head/; revision=104034
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-211-3/+3
| | | | Notes: svn path=/head/; revision=102231
* can not -> cannot.Ruslan Ermilov2002-08-131-1/+1
| | | | Notes: svn path=/head/; revision=101810
* I should have committed this ages ago...Maxime Henrion2002-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. Notes: svn path=/head/; revision=101271
* The .Nm utilityPhilippe Charnier2002-07-061-16/+22
| | | | Notes: svn path=/head/; revision=99501
* o remove __PWarner Losh2002-03-201-160/+64
| | | | | | | | o Use ansi function definitions o unifdef -D__STDC__ Notes: svn path=/head/; revision=92838
* Remove 'register' keyword.David E. O'Brien2002-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?) Notes: svn path=/head/; revision=92806
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Allow reboot during runcom.Dag-Erling Smørgrav2001-10-151-0/+3
| | | | | | | | | PR: bin/28116 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> MFC in: 1 week Notes: svn path=/head/; revision=85010
* Silence non-constant format string warnings by marking functionsKris Kennaway2001-08-191-9/+9
| | | | | | | | | | as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks Notes: svn path=/head/; revision=81911
* mdoc(7) police: protect trailing full stops of abbreviationsRuslan Ermilov2001-08-101-2/+2
| | | | | | | with a trailing zero-width space: `e.g.\&'. Notes: svn path=/head/; revision=81449
* mdoc(7) police:Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=81251
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-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> Notes: svn path=/head/; revision=80381
* Remove whitespace at EOL.Dima Dorfman2001-07-151-11/+11
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* Fix typo which could lead to memory leak.Mike Heffner2001-06-201-1/+1
| | | | | | | | PR: misc/28283 MFC after: 2 weeks Notes: svn path=/head/; revision=78484
* Use new backup feature of install(1).Ruslan Ermilov2001-05-281-7/+1
| | | | Notes: svn path=/head/; revision=77348
* Back out most of revision 1.28: lists of diagnostics must use -diag,Dima Dorfman2001-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 Notes: svn path=/head/; revision=75460
* Make the list in the DIAGNOSTICS section "-tag" instead of "-diag":Dima Dorfman2001-04-101-2/+2
| | | | | | | | | | the former makes it more obvious as to there the error message starts and the explanation begins. PR: 26431 Notes: svn path=/head/; revision=75365
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74531
* Fix typo present since 1997: single used mode -> single user mode.Jeroen Ruigrok van der Werven2001-03-031-1/+1
| | | | Notes: svn path=/head/; revision=73373
* Fix a cosmetic problem with some very defensive programming: The devfsPoul-Henning Kamp2001-02-081-1/+17
| | | | | | | mount would show up as "/dev/", loose that trailing slash. Notes: svn path=/head/; revision=72188
* Further tidy up the sbin/init and release builds.Peter Wemm2001-01-011-28/+2
| | | | Notes: svn path=/head/; revision=70565
* This is not necessarily the correct fix, but at least sbin/init compilesPoul-Henning Kamp2001-01-011-8/+11
| | | | | | | in a sterile environment like "make release" Notes: svn path=/head/; revision=70562
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-1/+1
| | | | Notes: svn path=/head/; revision=70192
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-1/+2
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* Explicitly document the fact that securelevel > 0 means that kernel modulesBen Smithurst2000-12-071-1/+5
| | | | | | | | | | may not be (un)loaded. PR: 23350 Submitted by: Gordon Tetlow <gordont@bluemtn.net> Notes: svn path=/head/; revision=69720
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68960
* Improve the clarification of the handling of the securelevel.Sheldon Hearn2000-09-131-6/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=65803
* Clarify the handling of the securelevel.Sheldon Hearn2000-09-121-8/+13
| | | | | | | PR: 20974 Notes: svn path=/head/; revision=65773
* Mount DEVFS with no options.Poul-Henning Kamp2000-08-261-1/+1
| | | | Notes: svn path=/head/; revision=65114
* Add MLINK init.8 --> securelevel.8Alexander Langer2000-06-091-0/+1
| | | | | | | | | Requested by: Brett Glass <brett@lariat.org> PR: 13792 Submitted by: nik Notes: svn path=/head/; revision=61447
* Remove unused include.Jeroen Ruigrok van der Werven2000-05-011-1/+0
| | | | Notes: svn path=/head/; revision=59871
* Add include of errno.h where needed, remove extern int errno where not.Warner Losh2000-04-141-2/+0
| | | | | | | These commits were inspired by a similar commit to netbsd. Notes: svn path=/head/; revision=59216
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57668
* Change DISTRIBUTION to match new world order.Mark Murray2000-02-291-1/+1
| | | | Notes: svn path=/head/; revision=57623
* detect deleted tty lines in /etc/ttys.Alfred Perlstein2000-02-191-1/+25
| | | | Notes: svn path=/head/; revision=57344
* Document that securelevel >= 2 clamps time changes to at most one second.Nik Clayton1999-12-161-0/+4
| | | | | | | | PR: docs/14449 Submitted by: James FitzGibbon <james@targetnet.com> Notes: svn path=/head/; revision=54668
* Correct the ttys.5 and init.8 manpages with respect to the incorrectSheldon Hearn1999-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> Notes: svn path=/head/; revision=54199
* Finish up umntall support. init now passed an argument to theMatthew Dillon1999-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> Notes: svn path=/head/; revision=53550
* FreeBSD kernel doesn't allow any process to decrease securelevel. So,KATO Takenori1999-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) Notes: svn path=/head/; revision=51008
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Backup existing init(8) as /sbin/init.bak.Ruslan Ermilov1999-08-051-3/+9
| | | | | | | | PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=49432
* Fix a non-critical memory leak.Ruslan Ermilov1999-07-231-4/+6
| | | | | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=49018