[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] Way to calculate uncompressed image size..
From: |
Stephens, Peter A. |
Subject: |
[Ltib] Way to calculate uncompressed image size.. |
Date: |
Fri, 14 Mar 2008 14:17:33 -0400 |
If I want to calculate the uncompressed size of an image can I just add
the packages I want. Build it. Change directories to "rootfs" and run
"du . -ckS"? Here is an example...
address@hidden rootfs]$ du . -ckS | sort -rn | head -n 20
118524 total
33896 ./usr/lib
26076 ./usr/lib/gstreamer-0.10
15520 ./usr/bin
6804 ./boot
4904 ./lib
3984 ./usr/share/gtk-doc/html/glib
2676 ./usr/share/gtk-doc/html/libxml2
2660 ./usr/info
2540 ./usr/share/doc/libxml2-2.6.28/html/html
1980 ./usr/share/gtk-doc/html/gobject
1772 ./sbin
1600 ./bin
1252 ./usr/share/sounds/alsa
976 ./usr/share/gtk-doc/html/liboil
808 ./usr/share/man/man3
692 ./usr/share/man/man1
580 ./usr/sbin
528 ./usr/share/doc/libxml2-2.6.28/html
508 ./usr/include/gstreamer-0.10/gst
Peter A. Stephens
address@hidden <mailto:address@hidden>
765-451-7074
****************************************************************************************
Note: If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the message
and deleting it from your computer. Thank you.
****************************************************************************************
- [Ltib] Way to calculate uncompressed image size..,
Stephens, Peter A. <=