Re: Question about pseudo filesystems

From: Daniel Phillips (phillips@arcor.de)
Date: Mon Sep 09 2002 - 15:12:28 EST


On Monday 09 September 2002 21:48, Jamie Lokier wrote:
> The expected behaviour is as it has always been: rmmod fails if anyone
> is using the module, and succeeds if nobody is using the module. The
> garbage collection of modules is done using "rmmod -a" periodically, as
> it always has been.

When you say 'rmmod modulename' the module is supposed to be removed, if
it can be. That is the user's expectation, and qualifies as 'obviously
correct'.

Garbage collecting should *not* be the primary mechanism for removing
modules, that is what rmmod is for. Neither should a filesystem module
magically disappear from the system just because the last mount went
away, unless the module writer very specifically desires that. This is
where the obfuscating opinion is coming from: Al has come up with an
application where he wants the magic disappearing behavior and wants
to impose it on the rest of the world, regardless of whether it makes
sense.

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



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:18 EST