|
From: | David Morrison |
Subject: | Re: [Bug-ddrescue] Disk size wrong? |
Date: | Sat, 16 Feb 2019 12:15:18 +1100 |
Hello David!This is expected behavior, when ddrescue can't figure out the input file's size in advance. The behavior is normal on macOS, because ddrescue being (mostly) strictly POSIX figures the size of the drive by using lseek( input, 0, SEEK_END ), which unfortunately returns zero for both block (/dev/diskX) and character devices (/dev/rdiskX) on macOS. I am currently looking into alternative methods to improve that.
Florian, did you ever come up with a way to pick up the actual disk size on a Mac?
This was in relation to non-tried showing a value of 9223PB, and consequently pct rescued and remaining time were meaningless.
David
[Prev in Thread] | Current Thread | [Next in Thread] |