Series: Subject: Topic:
Question: 117 of 210

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

Asked by: Interview Candidate | Asked on: Mar 20th, 2006
Showing Answers 1 - 11 of 11 Answers
shyam gopal

Answered On : Mar 23rd, 2006

/dev/dsk contains the logical device names used for mounting and unmounting filesystems /dev/rdsk contains the raw device name that is used for creating file systems

Login to rate this answer.

Answered On : Mar 26th, 2006

View all answers by ehp_praveen

Hi,Thank you for your good responce,If possible can you please explain the scenarios. when we are using /dev/dsk and /dev/rdsk. Thanks again.

Login to rate this answer.

Answered On : Apr 18th, 2006

View all answers by sampath_skr

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   newfs /dev/rdsk/c0d0s4       mkdir /oracle       mount /dev/dsk/c0d0s4 /oracleAfter 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.

Login to rate this answer.

Answered On : Jul 11th, 2006

Basically raw devices till of before creation of filesystemsBlock devices are user after creation of file systems.NB: this is just a thumb rule

Login to rate this answer.

Answered On : May 15th, 2008

View all answers by raman36127

Logical device:-->used by user. all logiacl device name are kept in /dev dir.logical name contain the controller number,target number,disk number and slice number. /dev/dsk -->block disk device /dev/rdsk-->character disk device

Login to rate this answer.

Every disk device has an entry in both the /dev/dsk and /dev/rdskdirectories for the block and character disk devices, respectively.

Login to rate this answer.

Answered On : Oct 8th, 2009

View all answers by simhad

When you want to create a ufs on a slice you make #newfs /dev/rdsk/c#t#d#s#when you want to mount a slice you can use # mount /dev/dsk/c#t#d#s#

Login to rate this answer.

/dev/dsk having logical instance. and /dev/rdsk having raw-disk

Login to rate this answer.

Answered On : Jan 14th, 2012

I hope I understood this way:

raw disk device /dev/rdsk is using for system management/administration
block disk device /dev/dsk is using for I/O operations

Login to rate this answer.

Answered On : Apr 25th, 2012

/dev/dsk-block device /dev/rdsk -raw device

In /dev/rdsk if the data which is written did not used full 512bytes of a sector then for the next time we cannot use the left space.

where as /dev/dsk maintains a buffer memory from where the data is copied to disk so there is no loss of space.

Login to rate this answer.
Jamal Daken

Answered On : Mar 21st, 2013

Raw device deals with sectors the smallest units in disks which is 512 Bytes

Block device deals with blocks which are 8 K Bytes each in Solaris.

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.