Interviewer And Interviewee Guide

Solaris Interview Question:

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

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Solaris Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.