History log of /netbsd-src/sbin/init/init.c (Results 1 – 25 of 109)
Revision Date Author Comments
# 4b542cfe 11-Oct-2021 jmcneill <jmcneill@NetBSD.org>

Allow getty to exit quickly a few times before deciding that it is exiting
too quickly. Based on a FreeBSD change from 1994.


# 9007cd72 22-Jun-2020 msaitoh <msaitoh@NetBSD.org>

s/successfuly/successfully/ in comment. No functional change.


# fec59bb4 14-Oct-2015 christos <christos@NetBSD.org>

these are syslog-like


# d3037dba 16-Jun-2015 christos <christos@NetBSD.org>

fix error messages containing \n


# b6620403 09-Nov-2012 msaitoh <msaitoh@NetBSD.org>

Add missing free() in error path.


# e3f7c883 04-Nov-2012 christos <christos@NetBSD.org>

include the needed headers


# cf7ed4c9 20-Mar-2012 matt <matt@NetBSD.org>

Convert to C89 function definitions


# 694c2250 28-Aug-2011 christos <christos@NetBSD.org>

make it compile with SMALLPROG


# d2ac3967 27-Aug-2011 joerg <joerg@NetBSD.org>

Be more static


# 34edb026 29-Dec-2009 elad <elad@NetBSD.org>

Keep an internal variable indicating whether securelevel is present, and
don't blindly try to get/set it. Prevents error messages that don't make
sense if securelevel isn't supported by the kernel.


# 12496162 22-Nov-2009 mbalmer <mbalmer@NetBSD.org>

s/the the/the/


# a194a426 12-Apr-2009 apb <apb@NetBSD.org>

If MAKEDEV exits non-zero, but was nevertheless able to create
/dev/console, then have init(8) just print a warning instead of
exiting.


# c6144e48 18-Jan-2009 lukem <lukem@NetBSD.org>

fix -Wsign-compare issues


# 6543a91f 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)


# fb30984e 18-Mar-2008 christos <christos@NetBSD.org>

un-bitrot #if 0 testing code.


# edf9f996 09-Dec-2007 apb <apb@NetBSD.org>

No need to pass "-ppax" to MAKEDEV now that MAKEDEV internally defaults
to using pax.


# 7663f137 21-Mar-2007 dyoung <dyoung@NetBSD.org>

KNF.


# 7c0e506d 11-Mar-2007 apb <apb@NetBSD.org>

Adapt to the new MAKEDEV interpretation of -M by passing -MM.

Also pass "-ppax" in an attempt to get improved performance,
but this doesn't really work in the typical case, because the
install ramdi

Adapt to the new MAKEDEV interpretation of -M by passing -MM.

Also pass "-ppax" in an attempt to get improved performance,
but this doesn't really work in the typical case, because the
install ramdisk image contains a version of pax(1) that doesn't
support the -M flag. (MAKEDEV detects the failure and falls back
to using mknod(8) as usual.)

show more ...


# 1d350026 02-Mar-2007 dsl <dsl@NetBSD.org>

Instead of creating the mfs /dev here, get MAKEDEV to do it.
Removes a load of code that is easier done as a script.
Whenever init exits, use a different error number. Since it is difficult
for init

Instead of creating the mfs /dev here, get MAKEDEV to do it.
Removes a load of code that is easier done as a script.
Whenever init exits, use a different error number. Since it is difficult
for init to output messages when /dev/console is absent, having the exit
code reported by the kernel panic gives a chance of identifying the fault.
Also exit if MAKEDEV fails to create /dev/console.

show more ...


# c3bbc70f 01-Mar-2007 apb <apb@NetBSD.org>

When calculating the size of the MFS /dev file system, round file sizes
up to a multiple of 512. (Not doing this before was wrong but probably
asymptomatic, because there was enough slack space to c

When calculating the size of the MFS /dev file system, round file sizes
up to a multiple of 512. (Not doing this before was wrong but probably
asymptomatic, because there was enough slack space to cope with the
error).

show more ...


# c654f7ab 01-Mar-2007 apb <apb@NetBSD.org>

When creating /dev in a memory file system, include all three of
MAKEDEV, MAKEDEV.subr and MAKEDEV.local in the set of files that are
copied if they exist.

Now booting an INSTALL kernel with an embe

When creating /dev in a memory file system, include all three of
MAKEDEV, MAKEDEV.subr and MAKEDEV.local in the set of files that are
copied if they exist.

Now booting an INSTALL kernel with an embedded ramdisk correctly creates
/dev again, fixing a problem introduced when MAKEDEV.subr was created a
few days ago.

show more ...


# e3f6d993 15-Feb-2007 tron <tron@NetBSD.org>

Increase the numbers of inodes available on the "/dev" MFS to 1280.
This should fix the "sysinst" problems caused by adding more devices
node to resolve PR port-amd64/35532.


# 033e1229 06-Feb-2007 cbiere <cbiere@NetBSD.org>

Revert previous commit.


# 21f5afe6 05-Feb-2007 cbiere <cbiere@NetBSD.org>

* 0/1 -> EXIT_{SUCCESS,FAILURE}
* make_utmpx(): Added comment and slightly simpler construct.
* alrm_handler(): Suppress "unused parameter" warning.
* mapfile():
* Handle st.st_size correctly.

* 0/1 -> EXIT_{SUCCESS,FAILURE}
* make_utmpx(): Added comment and slightly simpler construct.
* alrm_handler(): Suppress "unused parameter" warning.
* mapfile():
* Handle st.st_size correctly.
* Avoid unnecessary return statements.
* Removed unnecessary MAP_FILE flag.
* Use S_ISLNK() and check S_ISREG() too.
* Add the terminating NUL rather after readlink() than
before, just in case.
* writefile():
* Avoid unnecessary return statements.
* read_ttys():
* Check S_ISREG() as well.
* Check for st.st_size > 0 rather than != 0.

show more ...


# e2ca2959 05-Feb-2007 njoly <njoly@NetBSD.org>

Fix compilation on 64bit platforms.
ok by elad.


12345