hdparm should be available in the RAM filesystem you get when you do "linux
Sometimes it is necessary to tweak a hard drive's parameters after boot, e.g.,
when you suddenly realize that a drive that shouldn't be running with DMA
enabled is, in fact, running with DMA enabled and the drive is about to get
I realize that it is possible to emulate some of hdparm's functionality by
echoing commands to a file in /proc. But really, 99% of sysadmins don't know
how to do that and shouldn't have to. Certainly, when they're in the middle of
trying to repair a damaged filesystem is not the time to learn how to do
something like that.
hdparm is only 40KB. Surely it can't be impossible to find the space for it.
You should be using ide=nodma if that is the issue.
We will consider adding hdparm nonetheless.
Look, I really don't think you're considering this scenario realistically.
People set up a configuration that works and then forget about it. When an
admin goes back to a broken machine, perhaps a year after he set it up, there's
no way in hell that he's going to remember that he put "ide=nodma" in the LILO
or grub configuration. So why should he remember to type "ida=nodma" when he
boots rescue mode?
On the other hand, when he sees "dmesg" start to spew messages about hard drive
errors, it's quite possible that he'll say to himself, "Oh, shit, I'm not
supposed to use DMA on these drives! I need to run hdparm to turn it off!" But
lo and behold, he can't, because hdparm isn't there.
By its very nature, a rescue disk needs to be paranoid. What goes does a rescue
mode do if it makes it entirely too easy to screw up the system even more than
it's already screwed up?
Added in CVS