lkml.org 
[lkml]   [2010]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.35.4: sudo rmmod ahci @ 2.6.35.4 succeeds: filesystem access errors follow
Date
On Tuesday 07 September 2010 19:21:43 Alejandro Riveira Fernández wrote:
> El Tue, 7 Sep 2010 18:34:27 +0100
>
> Pedro Francisco <pedrogfrancisco@gmail.com> escribió:
> > sudo rmmod ahci @ 2.6.35.4 succeeds: filesystem access errors follow.
> >
> > Now what I'm surprised is not the filesystem errors but me being allowed
> > to remove the module without using the '-f' option.
> >
> > Do note, lsmod |grep ahci reports something like [this is adapted from a
> > 2.6.32 kernel]:
> >
> > ahci 32200 0
> >
> > so it isn't at all surprising I'm being allowed to remove a seemingly
> > unused module. So....
> > a) is this supposed to happen?
>
> Yes afaics. root can do many stupid things if (s)he wants
> including « rm -rf --no-preserve-root / »

That makes no sense. That's what the force option "-f" is for. It's my opinion
the usage count for ahci on `lsmod' should be 1 and not 0. Whoever still wants
to remove it can use the `rmmod -f ahci'


>
> > b) do you need any more info?
> >
> > P.S.: CC'ing me will probably ensure I'll reply faster but not explicitly
> > needed since I'm subscribed.


--
Pedro
--
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/

\
 
 \ /
  Last update: 2010-09-07 23:49    [W:0.994 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site