2002-01-08 01:33:39

by Andre Hedrick

[permalink] [raw]
Subject: U133/48-bit (HDIO_DRIVE_CMD... (fwd))


Not Doable without patch infrastructure.

---------- Forwarded message ----------
Date: Wed, 19 Dec 2001 13:55:07 -0800 (PST)
From: Lucien Murray-Pitts <[email protected]>
To: [email protected]
Subject: HDIO_DRIVE_CMD...

Hi,

I'm finding it hard to get any docco on the
HDIO_DRIVE_CMD ioctl. I want to perform a security
unlock. Here is what I have:

args[4+512] = { SECURITY_UNLOCK, 0,0,1,
0, PASSWORD_DATA } ;
ioctl( fd, HDIO_DRIVE_CMD, &args ) ;

Although I'm not sure this is correct? I've started
wading through the linux ide source but as yet I can't
answer my question...

please, if you have time, drop me a line!

Lucien

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com