Sun Solaris (OS) Question:
Download Questions PDF

What is the big difference between /dev/dsk and /dev/rdsk

Solaris Interview Question
Solaris Interview Question

Answer:

In Solaris whenever you create a new slice using format command a raw physical slice or a Raw Device will be created which is addressed as /dev/rdsk/c#d#s# where # is the number for slice.

After formatting it with newfs command the slice will be addressed as /dev/dsk/c#d#s# which can now be used for mounting.

eg. newfs /dev/rdsk/c0d0s4

mkdir /oracle

mount /dev/dsk/c0d0s4 /oracle

After mounting /dev/dsk/c#d#s# is called as Block Device

/dev actually contains logical device names which are links (Shortcuts in windows terminology) to actual physical devices in /devices directory.

Download Solaris Interview Questions And Answers PDF

Previous QuestionNext Question
Why we use / for mount any filesystem?How many cpus we can connect to a spark machine in Solaris?