From: Dan A. <da...@gm...> - 2004-01-31 22:26:40
|
On Sat, Jan 31, 2004 at 04:55:57PM -0500, Matt Behrens wrote: > Okay, it seems there are worse problems than just misreporting the > size in cobd. > > It seems in e2fslibs that the size is actually determined by an > algorithm I can't get my weekend brain around, but it does a lot > of seeking and trying to read a byte to get the "real" size. > > Armed with this idea I tried to dd if=/dev/cobd0 of=/dev/null bs=1k > count=128k (using my 128M image). I got a stream of I/O errors > near the end and DebugView is filled with several messages starting > with "block io failed: edbb6000 400 (reason: c0000011)". Goes up > to edea6c00. c0000011 is STATUS_END_OF_FILE. It is possible that reading cobd devices from userspace is broken. Prehaps in that scenario offsets are passed from Linux to Windows wrongly. > I can't find the above DebugView message anywhere in the 0.5.2 > colinux source I pulled today. It's in colinux/os/winnt/kernel/block.c. -- Dan Aloni da...@gm... |