Hi, i have a question. Why 'dd' does not seek over 'char' devs (specifically raw disk partitions).
My point is, when a disk develops problems, sometimes it is possible to recover nearby sectors e.g. using dd, and seeking to the right block. However running dd over the char device (rwd*) takes forever because the seek on char devices is implemented by reading instead. Using the cooked device is problematic because the buffering causes multiple sectors to be read and this may cause errors if some block nearby has problems. I notice that on output lseek _is_ used also on char devices. Ideas ? cheers luigi To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message