Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 1995 03:35:34 -0700 (PDT)
To: (Peter Dufault)
Subject:   Re: formatting a scsi disk
Message-ID:  <>
In-Reply-To: <> 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.
  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: <>