bug-coreutils
[Top][All Lists]
Advanced

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

du 5.0.91 and the /proc


From: Per Lejontand
Subject: du 5.0.91 and the /proc
Date: Sun, 06 Jun 2004 11:22:11 +1000

In the example below keep your eyes on the size of the root directory
entry!

leela:~# uname -r 
2.6.5
leela:~# dpkg -l libc6 | grep libc
ii  libc6          2.3.2.ds1-13   GNU C Library: Shared libraries and
Timezone
leela:~# du --version |  head -n1
du (coreutils) 5.0.91

There is nothing wrong in the filesystem. There is _nothing_ in the root
dir. The du size of the /proc directory somewhat add upp to the size
given for the root dir tho (it is hard to take a snapshot and get the
exakt same sum, when i did it the figures where 787331 vs 787639 so
definently in the same region).

I have one friend who can reproduce it (using 2.6.6-1-686, 2.3.2.ds1-13)
and some freinds who cannot, using a 2.4 kernel. 

leela:~# cd /
leela:/# du -ks * | sort -n 
du: `proc': No such file or directory
0       sys
0       vmlinuz
0       vmlinuz.old
4       cdrom
4       floppy
4       initrd
12      mnt
16      lost+found
48      tmp
116     dev
3080    bin
4396    sbin
14332   boot
21884   lib
48140   etc
165832  var
598148  opt
787331  root
2855492 usr
2969720 ardome
4990748 home
6051372 scratch
10964309        windows
leela:/# du -ks --exclude=proc * | sort -n
0       /sys
0       /vmlinuz
0       /vmlinuz.old
4       /cdrom
4       /floppy
4       /initrd
4       /root
12      /mnt
16      /lost+found
48      /tmp
116     /dev
3080    /bin
4396    /sbin
14332   /boot
21884   /lib
48140   /etc
165836  /var
598148  /opt
2854680 /usr
2969720 /ardome
4990820 /home
6051372 /scratch
10964309        /windows
leela:/# du -ks root
4       root

-- 
//Per
System Specialist
Ardendo
+46-730-808022





reply via email to

[Prev in Thread] Current Thread [Next in Thread]