LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   /etc/init -vr (https://www.linuxquestions.org/questions/solaris-opensolaris-20/etc-init-vr-515578/)

mdhmi 01-02-2007 08:33 AM

/etc/init -vr
 
Anyone know what the -vr is ? I didn't see a description in the init man page.

Code:

srvr1 $ ps -ef | grep init
    root    1    0  0  Nov 06 ?      97:36 /etc/init -vr
srvr1 $

Normally I see init running without the "-vr".

Example:

Code:

srvr2 $ ps -ef | grep init
    root    1    0  0  Jun 27 ?      96:29 /etc/init -
srvr2 $

Thanks

jlliagre 01-02-2007 09:00 AM

I think they are options passed to the reboot command (-r meaning reconfigure the device tree and -v for verbose).

Init has no use of the verbose flag, but it handles -r.

http://src.opensolaris.org/source/xr...nit/init.c#599

mdhmi 01-02-2007 09:09 AM

Yea, I assumed "-r" meant reconfig, at least in the context of "boot" or "reboot", but why isn't this crap documented in the man pages? :tisk:

This is a Solaris 9 server (12/03) running on a v1280.

Uckfit - I'll check with backline.

mdhmi 01-02-2007 10:26 AM

Sun confirmed all the "-vr" means is the box was last booted with those options (verbose/reconfig). This is what I suspected, it just threw me a bit not seeing the options explained in the man page.

jlliagre 01-02-2007 11:40 AM

These options are explained in several places, including the most logical one which is "man kernel".

There is no point, IMO, at documenting these options in the init manual page as they cannot be used when calling directly this command but only through the kernel initialization.


All times are GMT -5. The time now is 01:47 AM.