Justin Knierim wrote:
Alexander E. Patrakov wrote:

5) If I download a 100M file and erase it, the space available in tmpfs will:


For building LFS, this shouldn't be too big of a problem, if I understand correctly. Actually, now that I think about it more, what is there really on the cd what will grow in size? LFS will be built on a partition on the hdd, so theoretically the only change to the LiveCD system is adding the lfs user and changing the bash startup files.

Also, just to make sure I understand correctly, the space doesn't become available because it is recorded in /dev/loop1 and can't really be erased or because of compression?

No, the reason is completely unrelated to compression.

When you erase the file from ext2 filesystem, the blocks previously occupied by it are not changed. And, as they were touched at least once, they belong to /dev/loop1. /dev/loop1 just never shrinks because there's no way for a data block to transition from "modified" to "unmodified" state.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to