ReiserFS can pack multiple small files and the ends of larger files into shared blocks, which saves space.įor file systems have blocks and which do not put parts of more than 1 file in a block, such as Ext4FS: using a different block size for the file system may save space depending on the size of the files stored on the file system. On systems that have been running for some time you might consider removing or compressing old log files. xsession-errors: mknod .xsession-errors c 1 3 Output to what would be files can be caused to go to /dev/null in some cases where a symlink does not work as in this example redirecting output from. Use the following line as your /etc/nf configuration file in order to not save logs but output them on virtual terminal 12: Sort installed packages by size: dpkg-query -W -showformat='$' 'unexpand -all' \ Using dpigs ( debian-goodies): dpigs -n50 Take a look at the Debian Cleanup Tips at. Purge obsolete configuration files: aptitude purge ~c To list packages in increasing order of size: aptitude -F '%I %p' search '~i'|egrep '^ ?* B'|sort -n To install without recommends but not uninstalling other recommends: aptitude install -R -o Aptitude::Keep-Recommends=true To list manually installed packages: aptitude search '~i!~M' To list upgradeable packages: aptitude search '~U' Using aptitude to list uninstalled recommended or suggested packages: aptitude search '~RBsuggests:~i!~i' Check /var/log/aptitude for definitive information. These commands only provide one possible explanation. Tries to work out why installing package1 would drag in package2. Shows why package1 may have been installed. In lenny, aptitude has "why" and "why-not". Doing this after upgrading aptitude should give you access to this new feature. To list packages that take up most of the disc space with aptitude into visual mode, select Views → New Flat Package List (this menu entry is available only after etch version), press l and enter ~i, press S and enter ~installsize, then it will give you nice list to work with. kernel packages are large older versions are not removed automatically for your safety.See which packages are using the most disc space It provides a fast and easy to use interface and allows to browse through directories, to show percentages of disk usage and to delete unwanted files. usr/bin/du -total -summarize -human-readable -one-file-system There are several tools to see which directories are using the most disc space on a Debian system, like baobab (GUI) or the command line program du in the package coreutils that can be used like this: See which directories are using the most disc space When your temporary directory ( /tmp) becomes full, many applications will fail with error messages such as:Ĭannot create temp file for document: No space left on device When your Home directory becomes full, you will not be able to save any file, and some applications might refuse to start correctly. If a partition becomes full the system might not work properly. Then to check which partitions are getting full use:įilesystem Type Size Used Avail Use% Mounted on Command line tools to see seldom used filesįirst of all, to see the existing partitions, use:.See which packages are using the most disc space.See which directories are using the most disc space.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |