Off-Topic > Off-Topic - Tiny Core Lounge

An alternative setup for a Linux OS.

<< < (2/2)

hiro:
Please don't refer to and fro parallel threads. This circumvents the use of that separation.

robc:
I did this in a hacked version of tc that I was using a while back.  Basically I took everything in the base (and all my extensions) that was not an absolute requirement to boot and wrapped them into an extension and placed it in /tmp.  I added a line in the beginning of the tc init script to mount and link cp the extension files into /.  This did not decrease the size of the image, but it did decrease the size on the runtime memory usage.

I think the only parts that were not in the base extension were:
busybox (+ symlinks)
tty
initrd
squashfs
tc-init scripts

probably a few others

SunBurnt:
hiro; Sorry... I always felt references to other material was a benefit, I`ll watch that in the future.
I thought you might like to know... Using Squash files directly has already been done at Puppy Linux.
It works wonderfully with no links outside the Squash file needed ( not normally anyway...).

robc; I said at Puppy Linux years ago that if it`s not needed for booting it shouldn`t be in the initrd.gz file.
In regards to Tiny Core that`s not the case, the initrd.gz file is the entire file system.
Using dirs. and links does save space though... Right?

SunBurnt:
I had hoped that TC developers would be interested in an advanced Squash file loading setup.

Using links accesses the Squash file from outside, mirroring it`s files in the main file system.
Better to set needed paths into the Squash file in a new shell instance, and use it directly.
It`s files can be used without them having to be part of the main file system. It works fine!
No masses of links scattered throughout the main file system. Load it, use it, unload it. That`s it!

Is the TC team interested in this advanced idea for a better way to use the extension files?
I think only minor changes need to be made to the extension files and the way TC is setup.
Probably good for the next major release of TC ( 4.0 , I guess... ). Best regards... Terry

Navigation

[0] Message Index

[*] Previous page

Go to full version