Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

dd takes so long

Tommy answered on May 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


dd takes so long

0

Why dd takes so long?

When you use /dev/disk2s1 in the dd command, it represents a block interface to the underlying storage device. On the other hand, /dev/rdisk2s1 represents a raw character interface.

The block interface accesses the device using a cache buffer, which can introduce some delay in accessing the data. In contrast, the raw character interface accesses the device directly without using the cache buffer.

The difference in speed is due to the fact that the raw character interface (/dev/rdisk2s1) bypasses the kernel's caching system and writes directly to the underlying devices. As a result, write operations can be performed more efficiently, reducing the delay introduced by buffering.

In practice, when you use /dev/rdisk2s1, dd performs write operations directly on the device, avoiding buffering and thereby achieving faster processing. However, it's important to note that this difference in speed can vary depending on the operating system and hardware specifications.

Popularity 1/10 Helpfulness 1/10 Language javascript
Source: Grepper
Tags: dd whatever
Link to this answer
Share Copy Link
Contributed on May 23 2023
Tommy
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.