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
 

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

reply to topic new topic new poll
Topic: How do UNC's work, Please explain< Next Oldest | Next Newest >
xmrkite Offline





Group: Members
Posts: 31
Joined: Oct. 2006
Posted: Dec. 23 2006,22:48 QUOTE

Hello, It is my understanding that UNC's are good...why is this?

I've searced and searched and can't find any info on what their benefit is for DSL, nor have I found out how to use the unc files from the mydsl repository. Please explain how they work and if there is some online documentation, please show me the way : )

Also, I have the same questions about uci's, i've seen them too in the mydsl repository. What are the differences between unc's and uci's?

-Thanks


--------------
-Thanks
Back to top
Profile PM 
scot Offline





Group: Members
Posts: 15
Joined: Dec. 2006
Posted: Dec. 25 2006,00:11 QUOTE

As far as functionality is concerned, UNCs are just like any other extension.  They provide an application (or whatever).  Use them if they work, use other kinds of extensions if those work.  But they do provide some advantages.

UNCs are a way of making extensions to DSL which dont have to be contained entirely underneath a single directory (/opt), like, UCI extensions, but, which also don't take up ramdisk space, and eat up memory all the time.  Thus you can have an application which loads bits of itself to various parts of the filesystem, and the individual bits stay nicely on disc (or usb or wherever) until you actually need them.  Some of the other ways of creating extensions meant that either you had to put everything under a single directory, or else make the whole application load into ram.   This lets package makers include documentation, for example, which is otherwise left out of DSL extensions in the interest of memory savings.

To use UNC's: you must use a recent version of DSL (>3.0 I think, but 3.1 was the first time I had sucess with uncs).  Boot from CD or frugal install, so that the DSL loads using the 'unionfs' file system, which it should do by default.  Put the unc's you want into a directory where dsl can see them when it boots (depends on your machine, say /hda4/mydsl), and boot with the following added to your boot options:  mydsl=/hda4/mydsl.  Presto.  your extensions are loaded at every boot.   (Note that the way to add a boot option depends on your boot loader lilo, grub, or that new one whose name I forget.   I boot from grub, so if I want to change a boot option temporarily, I just hit 'e' after selecting DSL at boot time, add/edit boot options, then hit 'b' to boot.)

See the complete wiki versions here:
http://damnsmalllinux.org/wiki/index.php/MyDSL:_Installing_Extensions
http://damnsmalllinux.org/wiki....at_Boot

These apply to all extension types, not just UNCs.

For me UNCs are no real advantage for things I use often, since I boot with the toram option so that I can turn the harddisc off.   I WANT the whole app in memory so that I don't need to access the disc and my laptop stays quiet.  For things I use less often, or for bulky apps that I don't need all the pieces of, they're great.
Back to top
Profile PM 
1 replies since Dec. 23 2006,22:48 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: How do UNC's work, Please explain

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