bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] complete failure could use more output


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] complete failure could use more output
Date: Thu, 15 Nov 2007 17:55:10 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

address@hidden wrote:
# ddrescue -n -c 10000 /dev/sdb /dev/sda

Press Ctrl-C to interrupt
rescued:         0 B,  errsize:       0 B,  current rate:        0 B/s
   ipos:         0 B,   errors:       0,    average rate:        0 B/s
   opos:         0 B


This kind of additional output would be nice:

# fdisk /dev/sdb

Unable to read /dev/sdb

It seems ddrescue was able to open /dev/sdb and then the read command returned 0 bytes. How can ddrescue tell this from an empty input file? Note that ddrescue tells the user when it was unable to open the input file.

I mean fdisk expects to read a partition table of a given size, but for ddrescue an empty input file is as valid as any other.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]