When using ddrescue to read a section of /proc/self/mem, it appears 
ddrescue uses lseek(SEEK_END) in an attempt to determine the file size. 
With procfs being special, that unfortunately fails.

$ strace -fe lseek ddrescue -f /proc/self/mem /dev/zero -s $[0x4040]
lseek(3, 0, SEEK_END) = -1 EINVAL (Invalid argument)

procfs is known to be... special. What is your opinion, is it worth 
making this work?

Reply via email to