Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: PingPing on October 21, 2009, 04:54:12 PM
-
I want to remaster tcl 2.4.1 to include moc.tcz but I don't know whether I extract it with a special tool or mount it with a special tool ???
-
Mount it with the '-oloop' option.
-
Run Tiny Core 2.4.1, and have it mounted (If it is installed, delete its name from tcz2ram.lst and restart the computer).
You can then copy and paste it from /tmp/tcloop/ using Rox (you don't need to extract it or mount it).
If you use Rox, it will give you the option to merge with the other filesystem.
-
The following commands can be used as root:
mkdir /mnt/tmp
mount /path/to/extension.tcz /mnt/tmp -o loop
rsync -rlp /mnt/tmp /path/to/remaster/source
-
"rsync" will soon be gone from the base, so maybe "cp -a" might be better?
-
Since we are standardizing on squashfs, and therefore, it could be assumed that squashfs-tools-4.0.tcz is loaded, you can use unsquash.
unsquash --help
To view contents:
unsquashfs -ls moc.tcz
unsquashfs -lls moc.tcz
To extract into moc/ directory:
unsquash -info -d moc/ moc.tcz
-
Are there any speed advantages of using unsquash over rsync or cp for installing extensions to RAM?
If there is a speed advantage would the squashfs-tools be included in the base?
-
A special cp construct is being used in 2.5 with improved results and space savings too.