1 |
On Freitag, 22. Juni 2007, Ricardo Bevilacqua wrote: |
2 |
> 2007/6/21, Boyd Stephen Smith Jr. <bss03@××××××××××.net>: |
3 |
> > Try using: |
4 |
> > du -xa /boot | sort -rn |
5 |
> > as root to locate the space hogs, which may be hidden files. (du does |
6 |
> > "lie" sometimes though, because the assumptions it makes about file size |
7 |
> > aren't always true.) |
8 |
> |
9 |
> tux ric # du -xa /boot | sort -rn |
10 |
> 7283 /boot |
11 |
> 2935 /boot/gentoo-2.6.20 |
12 |
> 2903 /boot/vmlinuz-2.6.20-gentoo-r7.old |
13 |
> 993 /boot/System.map-2.6.20-gentoo-r7 |
14 |
> 345 /boot/grub |
15 |
> 100 /boot/grub/stage2_eltorito |
16 |
> 100 /boot/grub/stage2 |
17 |
> 56 /boot/vmlinuz-2.6.20-gentoo-r7 |
18 |
> 44 /boot/config-2.6.20-gentoo-r7 |
19 |
> 36 /boot/grub/splash.xpm.gz |
20 |
> 12 /boot/grub/xfs_stage1_5 |
21 |
> 12 /boot/grub/reiserfs_stage1_5 |
22 |
> 8 /boot/grub/vstafs_stage1_5 |
23 |
> 8 /boot/grub/ufs2_stage1_5 |
24 |
> 8 /boot/grub/minix_stage1_5 |
25 |
> 8 /boot/grub/jfs_stage1_5 |
26 |
> 8 /boot/grub/iso9660_stage1_5 |
27 |
> 8 /boot/grub/ffs_stage1_5 |
28 |
> 8 /boot/grub/fat_stage1_5 |
29 |
> 8 /boot/grub/e2fs_stage1_5 |
30 |
> 4 /boot/grub/stage1 |
31 |
> 4 /boot/grub/grub.conf.sample |
32 |
> 4 /boot/grub/grub.conf |
33 |
> 4 /boot/grub/device.map |
34 |
> 4 /boot/grub/default |
35 |
> 0 /boot/vmlinuz |
36 |
> 0 /boot/System.map |
37 |
> 0 /boot/.keep |
38 |
> 0 /boot/grub/menu.lst |
39 |
> 0 /boot/config |
40 |
> 0 /boot/boot |
41 |
> |
42 |
> Ok, this shows me every file on /boot, only ~15Mb, which is more that |
43 |
> I had calculated before. |
44 |
> |
45 |
> > You might also fire up filelight and/or the file size view of konqueror |
46 |
> > (either would also need to be as root) if you prefer a graphical view. |
47 |
> > (They will suffer from the same limitations as du, but their assumptions |
48 |
> > my be different.) |
49 |
> |
50 |
> Almost the same with a graphical view. |
51 |
> |
52 |
> > Oh, I'm not sure while filesystem you are using, but reiserfs reserves |
53 |
> > some space for the block usage bitmap and misc. metadata, and that takes |
54 |
> > up a number of MB. |
55 |
> |
56 |
> You might be right, but still, we have found out that the files are |
57 |
> ~15Mb, if the partition has a size of 40Mb, is it possible that |
58 |
> reiserfs is using almost 25Mb for storing data? |
59 |
|
60 |
it is using per default 32mb for its journal. |
61 |
|
62 |
The missing mb (32+15>40) comes from two facts: |
63 |
du lies |
64 |
and tail packing. |
65 |
-- |
66 |
gentoo-user@g.o mailing list |