df(1) and missing space in partition /dev/ada0p2
Matthias Apitz
guru at unixarea.de
Sun Jul 8 06:44:54 UTC 2012
Hello,
I hace setup a fresh 10.0-CURRENT, this time using gpart(8) and I do not
understand why the sum of Used and Avail does not equal to the full
space of /dev/ada0p2:
$ uname -a
FreeBSD aurora-clone.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r235646M: Thu Jul 5 09:38:00 UTC 2012 root at aurora-clone.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386
$ df -k
Filesystem 1024-blocks Used Avail Capacity Mounted on
/dev/ada0p2 74130588 25389436 42810708 37% /
devfs 1 1 0 100% /dev
linprocfs 4 4 0 100% /compat/linux/proc
/dev/md0 126492 24 116352 0% /tmp
$ echo '25389436+42810708' | bc
68200144
in some older system, which was setup the 'traditional way', it does:
$ uname -a
FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010 guru at current.Sisis.de:/usr/home/guru/myThings/FreeBSD/9-CURRENT/obj/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/sys/GENERIC i386
$ df -k
Filesystem 1024-blocks Used Avail Capacity Mounted on
/dev/ad4s1a 1012974 301092 711882 30% /
devfs 1 1 0 100% /dev
/dev/ad4s1d 5049390 132150 4917240 3% /var
/dev/ad4s1e 1012974 285258 727716 28% /tmp
/dev/ad4s1f 227454428 122082964 105371464 54% /usr
linprocfs 4 4 0 100% /compat/linux/proc
$ echo '122082964+105371464' | bc
227454428
Any idea?
matthias
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
More information about the freebsd-questions
mailing list