From owner-freebsd-questions Tue May 23 14:30:38 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA17632 for questions-outgoing; Tue, 23 May 1995 14:30:38 -0700 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA17625 for ; Tue, 23 May 1995 14:30:30 -0700 Received: (dufault@localhost) by hda.com (8.6.9/8.3) id RAA24967; Tue, 23 May 1995 17:30:41 -0400 From: Peter Dufault Message-Id: <199505232130.RAA24967@hda.com> Subject: Re: How to format a SCSI disk? To: Harlan.Stenn@pfcs.com (Harlan Stenn) Date: Tue, 23 May 1995 17:30:40 -0400 (EDT) Cc: freebsd-questions@FreeBSD.org In-Reply-To: <12753.801258640@mumps.pfcs.com> from "Harlan Stenn" at May 23, 95 03:50:40 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 767 Sender: questions-owner@FreeBSD.org Precedence: bulk Harlan Stenn writes: > > I read the scsi(8) manual page and the related pages. I have an old disk > that has some bad blocks, and I want to reformat the drive. > > This is what happened: > (...) > > What am I doing wrong? Nothing; shoot the programmer for documenting but not release-testing a command. Recent releases of the scsi(8) command were broken for zero length commands. You need to get an up to date scsi(8), which needs the up to date scsi library. In case you're not running -current, I've dropped a statically linked scsi(8) off in freefall. in ~ftp/incoming/scsi. Peter -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267