From owner-freebsd-hackers Sat Jan 29 13:18:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 61A62150F2 for ; Sat, 29 Jan 2000 13:18:17 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id OAA07903; Sat, 29 Jan 2000 14:17:34 -0700 (MST) (envelope-from ken) Date: Sat, 29 Jan 2000 14:17:34 -0700 From: "Kenneth D. Merry" To: Christoph Kukulies Cc: hackers@FreeBSD.ORG Subject: Re: scsiformat Message-ID: <20000129141734.A7865@panzer.kdm.org> References: <200001292055.VAA31117@gil.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200001292055.VAA31117@gil.physik.rwth-aachen.de>; from kuku@gilberto.physik.RWTH-Aachen.DE on Sat, Jan 29, 2000 at 09:55:57PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jan 29, 2000 at 21:55:57 +0100, Christoph Kukulies wrote: > > I have a block on a SCSI disk (Fujitsu M2954S-512 ) > which I cannot write to - fsck hangs eternally. > > Besides from trying the SCSICNTL utility from Adaptec > (which I had to boot off of a DOS floppy) is > there a way of formatting a drive from being > booted under FreeBSD? E.g. by sending a sequence of > approriate commands to the scsi bus? You can do it with camcontrol(8), see the examples section in the man page for the command. I've also written code to implement 'camcontrol format', but I have gotten very little feedback on it in 8 months or so. Would you like to test it? It is located here: http://www.FreeBSD.org/~ken/camcontrol.format.20000116 Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message