From owner-freebsd-questions@FreeBSD.ORG Wed Jun 30 05:53:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9904A16A4CE for ; Wed, 30 Jun 2004 05:53:47 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D35D43D45 for ; Wed, 30 Jun 2004 05:53:47 +0000 (GMT) (envelope-from freebsd2@c2i.net) Received: from tove (la3sg.net [217.13.29.172]) by mail.broadpark.no (Postfix) with ESMTP id 3E9553EFE; Wed, 30 Jun 2004 07:54:03 +0200 (MEST) From: "Kjell Midtseter" To: Matthew Seaman Date: Wed, 30 Jun 2004 07:53:35 +0200 MIME-Version: 1.0 Message-ID: <40E2717F.11339.5FEAA4@localhost> Priority: normal In-reply-to: <20040626094422.GA73314@happy-idiot-talk.infracaninophile.co.uk> References: X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-questions@freebsd.org Subject: Re: setting a disk read only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 05:53:47 -0000 On 26 Jun 2004 at 10:44, Matthew Seaman wrote: > On Sat, Jun 26, 2004 at 02:38:28AM +0200, MICSKO Viktor wrote: > > > Is it possible to setting a *whole* disk read only? I mean the way linux > > does it with "hdparm -r 1 device". So adding an -o ro parameter to mount > > isn't enough, I want to be sure that the disk is unmodified. > > > > (I have to access an existing raid of 8 disks using vinum without any > > modified bit, because of the highly sensitive data. Any idea doing this > > absolutely securely is welcome too) > > Hmmm... SCSI disks can be physically jumpered to be read-only. I > should think that ATA drives can be treated the same way. Consult the > manufacturers' data sheets for details. > Some time ago there was an article in the Elektor Magazine. They broke a line in the ATA cable and brought it to a switch on the front, with a pullup resistor on the disk side. The switch was labeled 'normal operation' and 'read only' Could be the hard way to do it. Literally. Kjell