>one is block device and character device file
>plz explain
One important difference between the two device files are, block devices are buffered and character devices are not.
If you are creating and manipulating a volume group you want to make sure that all the metadata gets written into the disk. Only a character device can guarantee that all the metadata is really written on the physical media when a system call returns. With a block device there is always a chance that the data will not be written on the disk due to power outage.
Why not use character devices all through out? They are too slow, a buffered block device would suffice in less critical area.
Return to article...[an error occurred while processing this directive]