Hi there,

On Sat, 23 Aug 2003, Pierre Phaneuf wrote:

> I have tried doing a "strace dd if=/dev/sda1 of=/dev/null bs=512 
> count=1", and I can see the read() block and it seems to be 
> interruptible without visible side-effects, but I don't really know how 
> I could harness this in a shell script

Why not send it to a (non-existent) file instead of to /dev/null, then
check the size of the file?

There's got to be a better way...

73,
Ged.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to