Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2008 00:46:55 +0200
From:      Daniel Roethlisberger <daniel@roe.ch>
To:        freebsd-hackers@freebsd.org
Cc:        =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@FreeBSD.org>
Subject:   Re: ATA Security patch to atacontrol
Message-ID:  <20080930224655.GG11823@hobbes.ustdmz.roe.ch>
In-Reply-To: <20080929230655.GA16790@hobbes.ustdmz.roe.ch>
References:  <20080929230655.GA16790@hobbes.ustdmz.roe.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Roethlisberger <daniel@roe.ch> 2008-09-30:
> I've added experimental support for the ATA Security command set to
> atacontrol.  Please test and review.  If you have some spare disk(s)
> with ATA Security support and a BIOS which does not freeze the security
> configuration, I'd like to hear about any results of playing with this
> patch.  See the changes to the manual page for details on the commands.
> 
> Note that you may render disks unusable using the ATA Security commands.
> Use with great care.

I've slightly improved the patch.  Changes:
- More sane timeouts on ATA commands
- Print a security usage if parameters are illegal
- Extended the manual page with some examples and notes about which
  commands are lethal to mounted filesystems
- Teach the kernel about the ATA Security command codes (for console
  printf messages)

Even with the kernel changes, a kernel rebuild is not required in order
to test the code.

http://daniel.roe.ch/code/ata/atasecurity-20081001-complete.diff

Please send me feedback.

-- 
Daniel Roethlisberger
http://daniel.roe.ch/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080930224655.GG11823>