what is the difference between init runlevel and milestone?

Answer Posted / phani

A milestone is a new mechanism made to be compatible with
run-levels. Milestones define a specific state of system
readiness, each with a specific set of services enabled.
Before smf(5), system boot progresses from run level S to
3, executing scripts in /etc/rc?.d along the way. With smf
(5), system boot does not progress from milestone to
milestone, the dependency determines the order of service
start.

Except for none, and all, milestones show up as services in
SMF. However, the system can only be in one of the
following milestones at any time:

none, single-user, multi-user, multi-user-server, all

Regardless of the state of milestone/* as shown by "svcs -
a". For the system's current milestone, check the
options_ovr/milestone property of
svc:/system/svc/restarter:default

# svcprop -p options_ovr/milestone restarter:default
If this command returns the following error:

svcprop: Couldn't find property 'options_ovr/milestone'
for instance 'svc:/system/svc/restarter:default'.
then the system is in its default milestone.

To view the system's default milestone, see question 2.13.

Other milestones exist to declare that some set of services
are ready. They are available for use as dependencies. For
example, if milestone/devices is online, it indicates that
device/fc-fabric and device/local have finished. Use "svcs -
d <milestone>" to list the dependencies for the milestone.

The Answer is avaliable in
http://hub.opensolaris.org/bin/view/Community+Group+smf/faq

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the steps involved in creating and executing a program to implement the “case” command.

522


Hi We have upgraded our sun machine from solaris 9 to solaris 10. Before upgradation the date command output(Solaris 9) Wed Oct 13 09:45:21 IST 2010 But after upgradation the output for date is as below(solaris 10). Wednesday, October 13, 2010 9:46:14 AM IST Looks like I need to change LC_TIME=C. can you please help me how to change it for permanently

1785


What does pkgadd command do?

643


How to configure email notification in solaris 8? We are using netbackup 5

2877


Which command is used to backup and restore solaris file system?

556






How to create core dump and crash dump #coreadm .

2411


what is the difference between solaris8 and solaris9 and solaris10

4844


How can u find a file which is logged in last week?

2167


what are the alarms in solaris?

2689


Where do you get Alarm prompt?

2259


How to add a new LUN in exit disksets (metasets) in solaris please answer me step by step procedure?

3394


After first installation of Solaris 10, what and all the Securities We need to set and how ?

1801


What are the differences between the command line and graphical user interface?

603


How to make SUN server as router in subnetwork?

2148


please post step by step installation of packages from the EIS cd..

1758