Pourquoi "depmod -a -F /boot/System.map" marche et pas "depmod -a" ??? - Linux et OS Alternatifs
Marsh Posté le 26-05-2002 à 09:20:04
-a, --all 
      Search  for modules in all directories specified in 
      the   (optional)   configuration   file   /etc/modules.conf. 
Marsh Posté le 26-05-2002 à 15:38:41
ben nan, le -a a rien a voir vu que je le mets dans les 2 cas ??? 
- depmod -a -F /boot/System.map 
- depmod -a 
 
La seule différence c'est le -F et normalement il sert lorsqu'on reconstruit les dépendances sur un autre noyau que celui qui tourne : 
 
-F kernelsyms,--filesyms kernelsyms 
   When building dependency files for a different ker 
   nel than the currently running kernel, it is impor 
   tant  that  depmod  uses  the correct set of kernel 
   symbols to resolve the kernel  references  in  each 
   module.  These symbols can either be a copy of Sys 
   tem.map from the other kernel, or  a  copy  of  the 
   output  from /proc/ksyms.  If your kernel uses ver 
   sioned symbols, it is best to use  a  copy  of  the 
   /proc/ksyms  output,  since  that file contains the 
   symbol versions of the kernel symbols.  However you 
   can use a System.map even with versioned symbols. 
 
Donc si qqn a une idée... 
Marsh Posté le 26-05-2002 à 06:38:27
Tout est dans le titre, je capte pas du tout pourquoi depmod -a trouve des unresolved symbols alors que si je spécifie -F /boot/System.map ca passe nickel...
Si qqn a une explication...