[HOWTO] Understanding Module Creation: Two Case Studies

Post tutorials, HOWTO's and other useful resources here.
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] Understanding Module Creation: Two Case Studies

Post#1 by Ahau » 24 May 2011, 00:35

This tutorial has been moved to the main site, please go here: http://porteus.org/info/docs/36-modules ... udies.html
to view it. Feel free to continue discussing it and asking questions about it here.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
82issa
DOC Team
DOC Team
Posts: 127
Joined: 13 Apr 2011, 17:24
Location: USA, NC

Re: [HOWTO] Understanding Module Creation: Two Case Studies

Post#2 by 82issa » 24 May 2011, 01:40

I take advantage of Always Fresh mode, so my filesystem never gets cluttered.
I am not sure if you have this in the tips and tricks. This is a fantastic idea, I don't know why I haven't thought of doing this.

Another note. The mloop instruction works just fine for mounting an xzm to specified directory. I have writen up a script that
I believe Fathom Is adding to next release which is "lsxzm". It list the contents of an xzm without extracting or mounting. In
all I think this is a wonderful start to a tough subject mater.

The info on the lsxzm script is under this post.
http://www.porteus.org/forum/viewtopic. ... f3de#p3522
Sorry guys... I got to go. My girlfriend just casted "get your dirty ass into the shower" on me.
Oh and here is some naked grandpa pictures too.

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] Understanding Module Creation: Two Case Studies

Post#3 by Ahau » 25 May 2011, 17:14

Thank you very much, 82issa!

I've added your lsxzm tool to the doc (I look forward to using it in the next RC or Final)

I've also added a paragraph about booting fresh to the Tips and Tricks doc, good call!

Posted after 1 day 11 hours 31 minute 3 seconds:
Updated draft to include some minor typos; I also retooled it to use a clean workspace instead of doing things on the desktop and in /var/slackyd. I'm just a messy slut, but I guess I shouldn't train others into my bad habits :D
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: [HOWTO] Understanding Module Creation: Two Case Studies

Post#4 by brokenman » 01 Jun 2011, 00:54

I guess the tool may be useful for some. Personally i've always just used unsquashfs -l which seems just as simple. A slight correction though ... this command does unpack a module although not to disk file space. AFAIAK there is no way to look inside an archive without opening it.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply