[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] prefix redefinition fix (Re: hdparm documentation)
From: |
Robert Millan |
Subject: |
[PATCH] prefix redefinition fix (Re: hdparm documentation) |
Date: |
Mon, 9 Nov 2009 16:00:17 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Nov 09, 2009 at 03:13:38PM +0100, Robert Millan wrote:
> On Sun, Nov 08, 2009 at 06:09:33PM +0100, Christian Franke wrote:
> >
> > After 'insmod ata', loading of further modules typically fails because
> > the drive in the 'prefix' variable is no longer valid.
>
> Actually, there's a bit more to it: even if you reset prefix, it won't
> use the new path.
>
> I'm working on a fix for that right now.
Here. The problem is that command.lst (and friends) are only processed
once. I fixed this by inserting a write hook in ${prefix}.
Would you please test and/or review?
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
prefix_redefinition_fix.diff
Description: Text Data