Init levels (solaris 10)


/etc/init.d/…..            Script file which contains all init levels
Init levels :

Have Seen the SPARC machine (Really an Un believable Performance )
SPARC machine which has super concept called Ok Prompt

with out booting to Os we can able to control some of Admin activity…which really admire me……

ok>  boot –S

Ok prompt not available in Intel X86 machine…

while working in SPARC Machine an special type of keyboard with extra 16 keys …Specially designed
Stop + A    ——->which enter into ok prompt with Single User Mode…….
Mostly the key disable while running in SPARC machine For Security reasons ….

To Disable :

bash>kbd –a disable
where
kbd——>keyboard Input Devices

Disable and Enable  are options….

(BOTH FOR SPARC AND INTEL X86)
SPARC-Scalable Processor architecture    (RISC)

init 0——————>      Hardware Maintenance Mode…….  (Any hardware changes all are hot plug able devices)

init 1——————>      Single User Mode

init 2——————>      Multiuser Mode(without  NFS file system)

init 3——————>      Multiuser Mode (with NFS File system)

init 4——————>       N/A   (Feature use)

init 5—————–>        Shutdown the machine..

init 6——————>       Reboot the machine..

init S——————>      All Administrative Repairs with highly Admin commands

Soft Link & Hard Link




Soft Link & Hard Link

* link means to linking some thing (or) relationship

* changes made in one file it reflects in another file.

 Two types normally :

1.Soft link —————–> Different Inode  Number.   .eg   Inode  (30021) any number depending upon the system maping
2.Hard link—————>Same Inode .

Command Need to Look Up:
ls—–> list all the parameters include user,type of file,permission,Inode………
ls -lia—-> list in detail
ln—–>link
usage: 

Soft link:

bash >  ln -s  < old file>  <new file>

-s      denotes soft link
<old file> already present file
<new file> point to new file right now create by u.

Example :
bash> ln -s  first     second

* If the first file is deleted second file also deleted by OS it self.


Hard link:
bash > ln  first second
*if the first file is deleted the second file not deleted …..

Brief History about solaris 10

  •   Solaris is a Unix operating system originally developed by Sun Microsystems, which superseded their earlier SunOS in 1992.
  •  Oracle Solaris, as it is now known, is owned by Oracle Corporation after Oracle's acquisition of Sun in January 2010
  •  Solaris is known for its scalability, especially on SPARC systems, and for originating many innovative features such as DTrace and ZFS.
  • Solaris supports SPARC-based and x86-based workstations and servers from Sun and other vendors, with efforts underway to port to additional platforms.
Solaris for their x86 server systems:
  • Dell 
  • IBM
  • Intel
  • Hewlett-Packard
  • Fujitsu Siemens