Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: What exactly is an "extension"?, Is it a package?< Next Oldest | Next Newest >
jgombos Offline





Group: Members
Posts: 39
Joined: Nov. 2006
Posted: Nov. 05 2006,06:37 QUOTE

I would like to create a driver with an installation script to make installation easy for other DSL users.  I was told to read the Wiki on MyDSL .dsl extensions.  That is some very rough text.  This documentation never explains exactly what an extension is.  Only that whatever it is, it uses lots of RAM.  I have no idea what a cloop file is, or a unionfs is, so I had no chance of following the explanation.  

I thought reading how to create a .dsl extension might give me some clues, but it only says how to convert a Debian package to a DSL extension.  From that, I get the impression that a DSL "extension" is a package.  No documentation seems to exist for how to create an extension from scratch.  

Someone please explain all this to me like I'm a four year old.

Thanks.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 05 2006,14:19 QUOTE

There are 4 articles about creating myDSL extensions.  It sounds like you saw only the first one.

Yes, extensions are software packages.  The .tar.gz and .dsl packages are gzipped tarballs. The .uci and .unc packages are compressed iso (cloop) files. As far as I see it, the tarballs will eventually be replaced by cloops.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 05 2006,16:00 QUOTE

I called them extensions and not packages because to call them packages would imply some sort of package management. It all has to do with trying to give the same advantage of adding applications to the liveCD user that traditional hard drive users have. The taking up alot of ram, has to do with the fact that only a ramdisk is available when running the OS from cdrom. Reboot and the extensions are gone. No package management needed. The unc and uci are mounted applications and do not take up alot of ram. The other two, tar.gz and .dsl, take up more ram, simply because both of them 'install' onto the ramdisk. If you want to read some history of why I created extensions read this.
Back to top
Profile PM WEB 
jgombos Offline





Group: Members
Posts: 39
Joined: Nov. 2006
Posted: Nov. 05 2006,19:25 QUOTE

So would I be correct in saying a .dsl extension exists on remastered CDs, while unc/uci extensions exist on some form of mounted writable media?  

I don't understand why a .dsl extension would consume ramdisk space, if it's on the CD and can be used readonly.

I have a NIC driver to package up, and I'm not sure which way to go.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 05 2006,19:55 QUOTE

A .dsl is a tarball, whether it is on a simple remastered cd,i.e, as an extension ala mkmydsl, or a persistent store, i.e, a hard drive, pendrive. etc. At boot time or dynamically it is untarred onto ramdisk. The only way for it not to be would be to install on a full remastered cd, but then by definition it would not be an extension. You would have another remastered DSL and would be larger than 50MB.

Surely, you know how to make a tarball for your nic driver. The only new thing is to add the menu and possibly icon for it. For that just untar an example extension and see how it is done. Then try it out by booting dsl with base and norestore options. Then try to dynamically load your tarball. tar.gz means it loads to /opt, and .dsl means it can load to most of the filesystem.


Edited by roberts on Nov. 05 2006,19:58
Back to top
Profile PM WEB 
6 replies since Nov. 05 2006,06:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: What exactly is an "extension"?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code