Messages in this thread | | | Date | Mon, 4 Jul 2005 08:17:13 +0200 | From | Jens Axboe <> | Subject | Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer)) |
| |
On Mon, Jul 04 2005, Lenz Grimmer wrote: > > I'll be working on adding sysfs stuff to it tomorrow so it's generally > > useful (at least for monitoring things - not yet for parking disk > > heads). > > Maybe there is some kind of all-purpose ATA command that instructs the > disk drive to park the heads? Jens, could you give us a hint on how a > userspace application would do that?
Dunno if there's something that explicitly only parks the head, the best option is probably to issue a STANDBY_NOW command. You can test this with hdparm -y.
Generel observation on this driver - why isn't it just contained in user space? You need to do the monitoring and sending of ide commands from there anyways, I don't see the point of putting it in the kernel.
-- Jens Axboe
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |