Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: bigpcman 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 .
-
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
-
Thank you for the explanation. I guess i never really understood how tcz's worked in that regard.