Hi,
I am using convert and copy 4.0p (from the Redhat 6.2) and I have an invalid
error message:
When the seek parameter is too long, it prints that the output file is not
valid.
For example, if I use the command on a 1440 floppy disk:
dd if=/dev/fd0 of=file.dat seek=100000000000
I have "dd: file.dat: invalid parameter"
We should have "dd: seek parameter is too big for the current input file"
There is no error with "dd if=/dev/fd0 of=file.dat seek=10"
Another question:
In a project, I use fopen, fread, fwrite, fseek, ftell to read in a device
file (/dev/hda1 for example). But there is a problem if the partition size is
more than 2 GB:
All these functions work with int (signed long int) numbers. And int can't
have values more than 2^31. Then, what is the best way to work on big device
files, when I need to read, write, ... ? I want to read on a 10 GB device
file.
Thanks.
--
François Dupoux
[EMAIL PROTECTED]
http://kfilereplace.sourceforge.net/
http://kgraphspace.sourceforge.net/
http://partimage.sourceforge.net/
http://kfilecoder.sourceforge.net/