[Linux-bruxelles] quand Linux ne boote plus: que faire en cas de disque root ou home full?

Serge Smeesters sergesmeesters at gmail.com
Mer 11 Avr 18:04:47 CEST 2007


Salut,


[...]
>> du -h --max-depth=1
[...]
>> sudo apt-get clean
[...]
> deborphan | xargs apt-get -y --purge remove

Il y a aussi gorets mais je n'en trouve pas beaucoup de trace :/
On peu le trouver là : ftp://ftp.internatif.org/pub/debian/UNOFFICIAL/sarge/
(wget, dpkg -i, ...)

man gorets

GORETS(8)           User Contributed Perl Documentation           GORETS(8)

NAME
       gorets - utility to find the Debian packages who eat disk space

SYNOPSIS
       gorets [options] filesystem

DESCRIPTION
       gorets (BTW, it means something like "greedy pigs" in French) is
       here to help the system administrator of a Debian machine to find
       which packages are eating disk space on a given filesystem.

       gorets finds, for each installed package (you can restrict the list
       of packages with the --filter option), which files belongs to the
       filesystem you indicated and gorets add their sizes. It produces a
       report with (if you use the --verbose option) the total number of
       packages, the total size occupied and the list, ordered by reverse
       use of disk space, of packages.

OPTIONS
       -v --verbose
                   Add some details to the final listing.

       -m --maximum number
                   Limit the list of packages in the final report to the
                   number given (default is 15).

       -f --filter regular expression
                   Restrict the examination of files to packages which
                   match the regular expression (in Perl syntax).

       -d --debug level
                   Add details (the higher the level, the more details you
                   get) about
                       what it does. Useful only for the developer.

BUGS
       Files with hard links are counted several times. I hope hard links
       are uncommon in Debian packages.

       The (small) size of directories and symbolic links is not counted at
       all.

AUTHOR/COPYRIGHT
       Copyright 2000 Stephane Bortzmeyer <bortzmeyer at debian.org> Free
       software; see the GNU General Public Licence version 2.  No war‐
       ranty.

3rd Berkeley Distribution        2000-11-20                       GORETS(8)


À+,
Serge.


Plus d'informations sur la liste de diffusion Linux-bruxelles