Re: e2fsck

Pàgina inicial

Reply to this message
Autor: Riquer Vincent (#343341)
Data:  
A: Guilde
Assumpte: Re: e2fsck
Heurtaux Vincent a écrit :
> Hello à tous,
>
> Plus personne ?
> En guise de test, j'en profite pour vous demander, suite à un dépannage chez
> ma nièce :
>
> Pourquoi la commande e2fsck avec l'option -a ne m'a pas réparé une erreur
> d'inode sur une partition racine (démontée car e2fsck lancé à partir d'une
> Knopppix) alors qu'elle l'a fait avec l'option -c ?


       -a     This option does the same thing as the -p option.  It is
              provided for backwards  compatibility
              only; it is suggested that people use -p option whenever


              possible.


       -p     Automatically repair ("preen") the file system.  This
              option will case e2fsck to automatically
              fix  any  filesystem  problems that can be safely fixed
              without human intervention.  If e2fsck
              discovers a problem which may require the system
              administrator to take  additional  corrective
              action,  e2fsck  will  print a description of the problem
              and then exit with the value 4 logi‐
              cally or’ed into the exit code.  (See the EXIT CODE
              section.)  This option is normally used by
              the  system’s boot scripts.  It may not be specified at
              the same time as the -n or -y options.


Une erreur d'i-node réclame une intervention de l'utilisateur car
toucher aux i-nodes peut conduire a la disparition d'un fichier (qui va
dans lost+found). Il vaut mieux le savoir pour essayer de retaurer le
fichier, dans un traitement automatique ça risquerait de passer inaperçu
et on dirait que Linux perd des fichiers...
- --
    Vincent Riquer        ||  vincent@???
    37 avenue de Vizille  ||  vincent@???
    38000 Grenoble        ||============================
    (+33) 6 09 71 30 85   \|  DJ_Black_Red@???


      http://melotrope.com | http://blog.melotrope.com