From owner-freebsd-scsi Thu Dec 10 09:43:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19753 for freebsd-scsi-outgoing; Thu, 10 Dec 1998 09:43:17 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA19738 for ; Thu, 10 Dec 1998 09:43:15 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id KAA10879; Thu, 10 Dec 1998 10:32:50 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199812101732.KAA10879@panzer.plutotech.com> Subject: Re: scsiformat under 3.0 In-Reply-To: from "Ralf.Luettgen" at "Dec 10, 98 01:46:37 pm" To: luettgen@swh600.langen.bull.de (Ralf.Luettgen) Date: Thu, 10 Dec 1998 10:32:50 -0700 (MST) Cc: freebsd-scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ralf.Luettgen wrote... > Hi, > > on my new FreeBSD 3.0 box there is no scsiformat. > Can I do it with camcontrol Yes, you can. Try this: camcontrol cmd -v -n da -u 2 -t 3600 -c "4 0 0 0 0 0" "-v" tells camcontrol to print sense information if the command fails "-n" specifies the device name "-u" specifies the unit number (i.e., da2) "-t" specifies the timeout for the command in seconds. If you suspect your disk will need more than an hour, increase it. "-c" specifies the SCSI CDB I plan on adding a 'camcontrol format' command, but haven't gotten around to it yet. The above command should give you more or less the functionality of scsiformat, but without the seatbelt. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message