Disques

From hugovil.com
Revision as of 19:32, 2 April 2026 by Hugo (talk | contribs)
Jump to navigationJump to search

SMART Disk Monitoring Daemon

 $> apt-get install smartmontools
 $> smartctl -t long /dev/sda [wait until test completes, then]
 $> smartctl -l selftest /dev/sda

Changement du mot de passe usager

Si vous avez ce message d'erreur:

 password for ' null ' gnome keyring

Il faut éxécuter:

 $> rm ~/.gnome2/keyrings/login.keyring


Monter une partition VFAT avec caractères accentués dans les noms de fichiers

 $> mount -o codepage=850,iocharset=iso8859-1,utf8 /dev/sdx1 mount-point

Vérifier si un disque est en mode actif ou pas

 $> hdparm -C /dev/sdb


Comment sauver de l'espace disque

/usr/share/zoneinfo

If you copy your timezone to /etc/localtime instead of making the normal symbolic link, all of /usr/share/zoneinfo can be removed.

/usr/share/locale and /usr/lib/locale

If you don't use NLS, you can remove all the locale info in /usr/share/locale and /usr/lib/locale.

/usr/share/man

Les répertoires /usr/share/man{cs,de,es,fi,fr,sauver de l'espace disquehu,id,it,ja,ko} etc peuvent être enlevés.