Using df to show information about partitions does not show the correct size. The partition the root partition of my system has 11445MB, but df shows 8GB (df -T -h).I'm not shure if this is a bug with df or it's something that I make wrong... System uname: 2.6.15-suspend2-r8 i686 Mobile AMD Athlon(tm) XP 1500+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -fweb -funswitch-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -fweb -funswitch-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://213.186.33.37/gentoo-distfiles/ ftp://gentoo.inode.at/source/ ftp://ftp.heanet.ie/pub/gentoo/" LANG="es_ES.UTF-8" LC_ALL="es_ES.UTF-8" LINGUAS="es" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac aalib acpi alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr clamav cli crypt ctype cups curl curlwrappers dba dbm dbus dri dts dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib inifile innodb ipv6 isdnlog java javascript jpeg junit lcms libcaca libg++ libgda libwww live mad matroska memlimit mikmod mime mmx mmxext mng mono motif mozilla mp3 mpeg msn mysql nas ncurses nls nptl nsplugin odbc ogg oggvorbis opengl oscar oss pam pcmcia pcre pdf pdflib perl png posix ppds pppd python quicktime readline real samba sdl session simplexml slang slp snmp soap sockets speex spell spl sqlite sqlite3 sse ssl tcltk tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs wmf xanim xml xml2 xmms xsl xv xvid yahoo zlib linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-suspend2-r8 i686) =================================================================
gparted shows the correct size
I think I have the solution. My installation comes from a restore with partimage from a previous gentoo installation that I hade made on an smaller partition. In partimage faq I have just read this: 5.3 Can I restore it to a smaller or bigger partition ? You can't restore to a smaller partition (you will have an error), but it's possible to restore to a lager one. In this case, some space will be lost (I suppose the OS cannot use all the size).