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: (4) </ [1] 2 3 4 >/

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

reply to topic new topic new poll
Topic: Script to permanently install UCI extensions< Next Oldest | Next Newest >
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 20 2007,14:21 QUOTE

I've recently been playing with the python.uci extension.  As I use a traditional HD install, I copied the /opt/python folder to a temp location and then copied it back permanently the next time I rebooted.

I omitted to copy the python.app file that used to show up in MyDSL, so now I can't launch Python from the MyDSL submenu.  This isn't a big deal, I can get it later and put it in there.

It has made me think that it would be helpful to have a menu command that could have done all the work for me.  I find many of the menu commands helpful not only for the service they provide, but also for the understanding that they give me when I read the scripts.  I've learned many things from these scripts.

I'd write the PermanentInstallUCI myself, but there are a few things I don't understand yet...

1) Is there a way to see what's inside a UCI without mounting it?  Something akin to tar -t?

2) Does the python.app file in MyDSL come from inside the UCI or is it generated by the script that mounts the UCI?

3) Is there a way to unmount a UCI?

Much thanks,
John
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 20 2007,16:16 QUOTE

1) I wouldn't be surprised if there is, but I don't know what it might be. Please note that one major benefit of using tar -t is that it doesn't extract the files. This benefit doesn't apply to mounting file systems, as the only disk use is the mountpoint. Mounting a uci doesn't really use any more resources than simply looking into the file would.

2) I believe it is created when mydsl-load is run, but I still haven't looked into the new installation process. This is just a guess. It may require running mydsl-load /opt/python/user.tar.gz *after* you remove the uci and copy the temp directory to /opt/python.

3) They are unmounted the same way they are mounted, using mydsl-load <filename>


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





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Dec. 20 2007,16:18 QUOTE

Sorry, there shouldn't be a menu entry to do what DSL isn't intended for. And DSL really isn't intended for traditional hard drive install.

That said, I wrote on the following entry what I do when I use DSL for traditional hard drive installs.
http://lucky13linux.wordpress.com/2007....a-point

Unmounting UCI/UNC files is the same as mounting. Either execute mydsl-load or click on it in dfm. If you do a hard drive install, you can rearrange your menus and directories and symlinks to suit your tastes sans a MyDSL folder.

Edit: Regarding your first question, isofs is a separate filesystem rather than a tarball so it would need to be mounted to get to its contents. I stand to be corrected if there's a way to see contents in a filesystem without mounting it.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Dec. 20 2007,17:23 QUOTE

I've seen some iso-utils that list the contents without mounting, but the wouldn't work with cloop..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 20 2007,18:52 QUOTE

Is it possible to mount a UCI to a mount point other than the one that mydsl-load will use automatically?  That would help to make copying the files to HD install a 2-step process.

Thanks
Back to top
Profile PM 
17 replies since Dec. 20 2007,14:21 < Next Oldest | Next Newest >

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

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Script to permanently install UCI extensions

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