Le Mon, 16 Sep 2002 14:10:50 +0200
[EMAIL PROTECTED] écrivait :

[...]

> Sinon, il me semble - mais je n'arrive plus à mettre la main dessus,
> que l'on peut charger un module qui est déchargé au bout d'un certain
> temps d'inactivité.

Ça y est, j'ai retrouvé : c'est l'option -k (autoclean) de insmod :

extrait du man ad hoc :

 -k, --autoclean

Set the auto-clean flag on the module.  This flag will be used by
kerneld(8) to remove modules that  have not been used in
some period of time -- usually one minute.

L'option est transmissible via modprobe...

PK

-- 
Patrice KARATCHENTZEFF
STMicroelectronics           Tel:  04-76-92-63-81
850, rue Jean Monnet
38926 CROLLES Cedex, France  Courriel: [EMAIL PROTECTED]

Répondre à