[HOWTO] Find your way around in the Porteus File Structure

Post tutorials, HOWTO's and other useful resources here.
Post Reply
User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

[HOWTO] Find your way around in the Porteus File Structure

Post#1 by Ahau » 12 May 2011, 20:26

This post has been moved to the main site, here. Feel free to continue discussing it, ask questions, or make suggestions for improvements on this thread.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
fanthom
Site Admin
Site Admin
Posts: 4616
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#2 by fanthom » 12 May 2011, 22:37

great, great and great job :)

just 3 corrections:
"When the system boots up, all of the modules are extracted and injected into a live filesystem."
modules are not extracted (it would take a long time and eat up the memory) - the are simply mounted to live fs (same as you mount ISO or .dat image)

"/porteus/optional will hold .xzm modules that you don't want added during startup."
i would add: unless a "load=" cheatcode is used. (or something like that)

"these changes are applied to your live filesystem at startup, after all of the modules and your rootcopy files are loaded."
wrong order, should be: modules -> changes -> rootcopy (rootcopy files overrides everything).

once again: good job! : :Bravo:
Please add [Solved] to your thread title if the solution was found.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#3 by Ahau » 12 May 2011, 23:17

Many thanks, fanthom!

One more question - when are files from magic folders applied? do they override rootcopy? I left them out of the howto, as I felt it was getting to be overwhelming for the reader.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
fanthom
Site Admin
Site Admin
Posts: 4616
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#4 by fanthom » 13 May 2011, 05:22

"when are files from magic folders applied? do they override rootcopy?"
yes - live system is created at the "initrd stage" by linuxrc. the only exception is "magic folders" feature which binds folders later in the boot process (in rc.S).
Please add [Solved] to your thread title if the solution was found.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#5 by Ahau » 13 May 2011, 16:07

The original post has been edited to make the corrections suggested by fanthom, as well as some other minor changes, and the addition of a conclusion paragraph that reads like an ad campaign.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
brokenman
Site Admin
Site Admin
Posts: 5570
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#6 by brokenman » 25 May 2011, 02:48

Excellent work. If i ever write a book .... I want you to write it. :%)
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3319
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#7 by Ed_P » 13 Jan 2014, 04:54

Ahau wrote:This post has been moved to the main site, here.
Link broken.
Ed

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#8 by Ahau » 13 Jan 2014, 06:55

updated the link in the original post. Thanks!
Please take a look at our online documentation, here. Suggestions are welcome!

tonyyyy
White ninja
White ninja
Posts: 5
Joined: 02 Oct 2016, 12:58
Distribution: Xubuntu, WattOS
Location: Sussex, UK

Re: [HOWTO] Find your way around in the Porteus File Structu

Post#9 by tonyyyy » 12 Oct 2016, 06:18

This is helpful and clear :Bravo:

Very different, but maybe easier to find the logic in Porteus than in the equivalent Ubuntu or windows file structures, which I am a bit more familiar with.

As you said....''With so many different locations for the files that are used to build the live system, it's easy to get confused at first. But as you continue using and experimenting with Porteus, you will come to understand the beauty of this system and its flexibility. Programs can be added and removed as quickly and easily as moving a file into the right folder''

Post Reply