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

Re: /root is full



Haines Brown <haines@histomat.net> wrote:

> I ran:
>  # find / -type f -size +100M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

You are missing the option "-xdev" for find to prevent it from crossing
filesystem boundaries. This leads to:

> All files that were over 100 Mb were located in broken out directories
> except this:

>  /sys/devices/pci0000:00/0000:00:06.0/0000:01:00.0/resource1: 256M
>  /sys/devices/pci0000:00/0000:00:06.0/0000:01:00.0/resource1_wc: 256M

/sys is sysfs, a virtual filesystem much like /proc. These files don't
use any space on your /-fs.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: