-1

I use du -sh * to find out the size of folders, but the sys folder is giving me 0, and the same about any folder inside sys. find . | wc -l gives me 11k files. Do you know why and can you suggest a workaround?

thanks

AMDP
  • 119
  • 6

1 Answers1

3

What do you want to work around? 0 is the correct number. /sys is a virtual filesystem, consisting of kernel data exposed in a filesystem-like interface. It does not actually take up any space.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972