![]() dev/disk nodes, on the other hand, are buffered block-special devices and are used primarily by the kernel’s filesystem code. They are closer to the physical disk than the buffer cache. dev/rdisk nodes are character-special devices, but are “raw” in the BSD sense and force block-aligned I/O. "Since any /dev entry can be treated as a raw disk image, it is worth noting which devices can be accessed when and how. Basically, rdisk goes directly to the disk, disk goes through the fileystem. It’s also faster because it’s block aligned IO. The ‘r’ prefixing the identifier signifies the raw data under the visible file system, which is necessary to make the output volume bootable.
0 Comments
Leave a Reply. |