Date: Mon, 1 May 1995 03:35:34 -0700 (PDT) From: bmk@dtr.com To: dufault@hda.com (Peter Dufault) Cc: john@starfire.mn.org, questions@FreeBSD.org Subject: Re: formatting a scsi disk Message-ID: <199505011035.DAA13146@dtr.com> In-Reply-To: <199504121228.IAA03381@hda.com> from "Peter Dufault" at Apr 12, 95 08:28:21 am
next in thread | previous in thread | raw e-mail | index | archive | help
> You can do a basic format of /dev/rsd0d with:
> > scsi -f /dev/rsd0d -c "4 0 0 0 0 0"
Can't get it to work here, any clues?
root (11) % scsi -f /dev/rsd2d -v -c "4 0 0 0 0 0"
Need the command format string.
Usage:
scsi -f device -d debug_level # To set debug level
scsi -f device -p [-b bus] [-l lun] # To probe all devices
scsi -f device -r [-b bus] [-t targ] [-l lun] # To reprobe a device
scsi -f device [-v] -c cmd_fmt [arg0 ... argn] \ # To send a command...
-o count out_fmt [arg0 ... argn] # EITHER (for data out)
-i count in_fmt # OR (for data in)
"out_fmt" can be "-" to read output data from stdin;
"in_fmt" can be "-" to write input data to stdout;
If debugging is not compiled in the kernel, "-d" will have no effect
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505011035.DAA13146>
