Answers

Question and Answer:

  Home  Solaris

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

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.

 139 views

More Questions for you: