9srv Manual Collection/plan9/disksim(8) | 9srv Manual Collection/plan9/disksim(8) |
---|
When setting disk geometry with the geometry control message, the arguments are sectors, sector size, cylinders, heads, and sectors per track. The last three may be zero for LBA disk simulations, but must be present.
The -f option causes disksim to use file as the initial contents of the disk rather than a zeroed image. Changes made to the disk are written back to file unless the -r option is given.
The -s option causes disksim to post its 9P service at /srv/service.
Disksim is useful for creating very large but mostly zeroed files for testing other programs. Test tar(1)'s handling of large files:
9srv Manual Collection/plan9/disksim(8) | Rev: Sun Dec 02 23:42:26 GMT 2007 |