Mounting instead of activating

Post tutorials, HOWTO's and other useful resources here.
Post Reply
tome
Contributor
Contributor
Posts: 571
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Mounting instead of activating

Post#1 by tome » 07 Feb 2014, 21:42

looks bit complicated - maybe you could do some work in this direction?
Why do it? Because mounting many modules is much quicker than activating during boot -> it can be more smaller base modules -> easier repack and update
My example for Firefox:
1. Create to-mount and firefox folders in optional (/mnt/live/porteus/optional/to-mount/firefox)
2. Move your 04-firefox.xzm module from base to optional/to-mount/firefox
3. Download firefox-[mount]-$arch-1tm.xzm (~0 MB) to base https://www.dropbox.com/sh/ui4ydoh3j34x ... C%20noarch
4. Reboot without any load= cheatcode (required).

Because Porteus releases are/were in frozen state (base modules are not updated) and probably no one uses changes folder for firefox updates and similar therefore mounting read-only can replace activating (maybe if one file = one link then updates will work but to much unneeded work). I use this solution, and content of firefox-[mount]-$arch-1tm.xzm is merged with another little modules. If default software packages (deb, tar.xz etc) can be mounted read-only, it would be great and no need to convert to xzm.

Post Reply