Disques: Difference between revisions

From hugovil.com
Jump to navigationJump to search
Created page with "=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,ut..."
 
No edit summary
Line 23: Line 23:


   $> hdparm -C /dev/sdb
   $> 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.

Revision as of 19:32, 2 April 2026

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.