Operating System - HP-UX
1819803 Members
2987 Online
109607 Solutions
New Discussion юеВ

difference between raw and block device

 
Scott_20
Occasional Advisor

difference between raw and block device

i know it is simple, but I can't find a clear definition of either.
thanks
I'm ok
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: difference between raw and block device

At the most fundamental level, the difference is the buffer cache. Raw disk devices transfer data to and from the disk directly; block device writes transfer data to the buffer cache and then to the disk at some later time; block device reads do the reverse. This is the fundamental difference between raw and "cooked" (block) i/o. With cooked i/o the concept of logical i/o (ie writes/read to/from the buffer cache) comes into play. With raw i/o only physical i/o applies.
If it ain't broke, I can fix that.
Robert-Jan Goossens
Honored Contributor

Re: difference between raw and block device

KCS_1
Respected Contributor

Re: difference between raw and block device

Hi,Scott

Take a look this the following:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=14654

It might be so helpful for you.



Best wishes
Kim,

Easy going at all.