[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wasted disk space



On Sat, Sep 30, 2000 at 06:54:34PM +0200, Bernd Eckenfels wrote:
> On Sat, Sep 30, 2000 at 05:35:48PM +0200, Massimo Dal Zotto wrote:
> > I found that of my 2GB root filesystem more than 10% is wasted because it has
> > been formatted by the potato installer with a 4K block size instead of 1K.
> 
> Actually on my system all partitions are 1k:
> 
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda1               101075     86295      9561  90% /
> /dev/sda5               987251    747829    188416  80% /usr
> /dev/sda6               987251    922089     14156  98% /var
> /dev/sda7              1771824   1657510     22744  99% /home
> 
> calista:/home/ecki# for i in /dev/sda1 /dev/sda5 /dev/sda6 /dev/sda7; do
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

bash lets you do great stuff : for i in /dev/sda{1,5,6,7} is faster

> echo "$i une2fs -l $i | grep Block\ size" ; done
> /dev/sda1 Block size:               1024
> /dev/sda5 Block size:               1024
> /dev/sda6 Block size:               1024
> /dev/sda7 Block size:               1024
> 
> This is because I dont have so big partitions as u have and mke2fs is
> guessing that smaller blocks are better.
> 
> Greetings
> Bernd
> -- 
>   (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
>  ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
>   o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
> (O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
Eric.VanBuggenhaut@AdValvas.be
http://www.eric.ath.cx

Please don't send proprietary format documents, I can't (and don't want to) open them.
Appreciated are open-source formats like .txt or .rtf. Dvi, ps or tex files are welcome.



Reply to: