WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pci-utils and libx86 tczl  (Read 1917 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
pci-utils and libx86 tczl
« on: May 29, 2009, 04:21:42 PM »
I noticed that the pci-utils and libx86 .tczl extensions load into ram just as if they were tce's. I thought the files would have sym links and not actually be in ram. What am I missing here?


tc@box:/tmp/tcloop$ cd libx86
tc@box:/tmp/tcloop/libx86$ du
3.0K ./usr/local/include
467.5K ./usr/local/lib
471.0K ./usr/local
471.5K ./usr
472.0K .
tc@box:/tmp/tcloop/libx86$ cd ..
tc@box:/tmp/tcloop$ cd pci-utils
tc@box:/tmp/tcloop/pci-utils$ du
70.5K  ./usr/local/include/pci
71.0K  ./usr/local/include
1.0K ./usr/local/lib/pkgconfig
87.5K  ./usr/local/lib
68.0K  ./usr/local/sbin
227.0K ./usr/local
227.5K ./usr
389.0K .
big pc man

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: pci-utils and libx86 tczl
« Reply #1 on: May 29, 2009, 04:31:31 PM »
du measures the usage of everything under the directory, this includes mounted things.
In other words you measured the uncompressed size of the extensions, but as it is a mountpoint, they don't take any ram.

edit: the symlinks are from, say /usr/local/bin to the mountpoint
The only barriers that can stop you are the ones you create yourself.

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: pci-utils and libx86 tczl
« Reply #2 on: May 29, 2009, 04:54:03 PM »
Thank you for the explanation. I guess i never really understood how tcz's worked in that regard.
big pc man