> So:
>
> The only good argument to putting the bypass option directly into the
> init script via a defaults/ file that I can see would be if hdparm could
> then be run _before_ the array starts to rebuild.  Unfortunately, array
> rebuilding starts even before /etc/rcS/07, so we buy nothing and gain
> the potential to really screw things up:(.
>
> I think the best solution here is to evalutate an environment variable
> (I have arbitrarily chosen FORCE_RUN just now) so the admin can bypass
> the simple-minded safety checks (and in this implementation, it skips
> even the evaluation of the kernel command line).  This means running
> the init script by hand after boot up, but I think forcing this is OK,
> as it's not something that (IMHO, at least) should be encouraged to
> happen non-interactively.

OK, you are right. Bypassing this should only be possible by 
running /etc/init.d/hdparm interactively, but it needs to be possible.

> I have also documented this in README.Debian, as well as the safety
> checks themselves.
>
> Does this seem sufficient to allow you to do what you need to do?

Yes. Some notification to root would be helpful. Perhaps some mail to root or 
something logcheck takes note of if hdpams are not set.

Greetings,
Ralf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to