Subject: Re: Trouble with PCI, VGA, 32Mbyte
To: John F. Woods <jfw@jfwhome.funhouse.com>
From: Peter Dufault <dufault@hda.com>
List: current-users
Date: 06/10/1995 18:21:28
John F. Woods writes:

> While I'm thinking of it, does the FreeBSD scsi utility, or any other
> SCSI utility, offer the ability to reformat drives with 1KB sectors?

I don't have the spec right here.  I think it amounts to (with the
FreeBSD utility)

scsi -f /dev/rsd0.ctl -e 3 -P 3        # Manually edit the format
                                       #  device page to set sector size.
scsi -f /dev/rsd0.ctl -c "4 0 0 0 0 0" # Format.

"-P 3" select parameter set 3, the permanent ones.

The .ctl device bypasses everything and responds to the ioctl so
a really dead drive can be formatted, plus you can protect it carefully.
It usually isn't needed as long as something responds to the ioctl.

If you have the SCSI spec, the "-c" option lets you send what you want to
from the command line.

Peter

-- 
Peter Dufault               Real Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936
dufault@hda.com             Fax:   508 433 5267