Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 07:53:35 +0200
From:      "Kjell Midtseter" <freebsd2@c2i.net>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting a disk read only
Message-ID:  <40E2717F.11339.5FEAA4@localhost>
In-Reply-To: <20040626094422.GA73314@happy-idiot-talk.infracaninophile.co.uk>
References:  <Pine.BSO.4.58L0.0406260220270.27354@bazmag.sch.bme.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E2717F.11339.5FEAA4>