"Terry Reedy" <[EMAIL PROTECTED]> writes:
> On *nix, one could open '/dev/rawdisk' (actual name depends on the *nix 
> build) and write a tracks worth of garbage for as many tracks as there are. 
> I don't how to programmaticly get the track size and number (if there is a 
> standard way at all).

Modern Unix systems assume drives don't care much about geometry, what
with sector forwarding and variable track lengths and the like.

Just open the raw disk device (assuming your Unix has such), and start
writing data to it. Keep going until the write fails at the end of the
media.

        <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to