LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-02-2007, 09:33 AM   #1
mdhmi
Member
 
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Rep: Reputation: 15
Question /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
 
Old 01-02-2007, 10:00 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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
 
Old 01-02-2007, 10:09 AM   #3
mdhmi
Member
 
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Original Poster
Rep: Reputation: 15
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?

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

Uckfit - I'll check with backline.
 
Old 01-02-2007, 11:26 AM   #4
mdhmi
Member
 
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Original Poster
Rep: Reputation: 15
Thumbs up

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.
 
Old 01-02-2007, 12:40 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic No init found. Try passing init..... Adrian Baker Mandriva 2 02-28-2005 12:47 PM
Redhat linux9.0:System hangs,if gives init 3 or init 4 Sailaja Reddy Linux - Newbie 4 09-16-2004 04:19 AM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-19-2004 12:10 AM
error: No init found. Try passing the init= option to the Kernel neylitalo Linux - Laptop and Netbook 3 01-22-2004 10:34 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 11:18 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration