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: Impressive Results, People should use unc's< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 11 2006,05:56 QUOTE

Yes, as long as the files don't overlap.

For example, when you use XFree86.dsl, you can remove /usr/X11R6/bin/XFree86
but if you will encounter problems (I think after loading other .dsl's which makes /usr writeable) using XFree86.unc and then trying to remove that.

Previously anything on /ramdisk was pretty much was editable - but this is what I found out so far.
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Dec. 11 2006,12:24 QUOTE

Juanito,

How about using WDef's dsl2unc script to convert those files and see what happens? With the conversion script, I'm not sure there's any need to run a mixture of dsl and unc.

Chris
Back to top
Profile PM MSN YIM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 11 2006,16:54 QUOTE

Not intended to run both.
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 12 2006,18:45 QUOTE

As a test, I tried a couple of things:

1. I downloaded gnu-utils.unc and this seems to work fine along with XFree86.unc - however, I still have the same problems if I try to load a dsl package after that.

2. I tried out the dsl2unc script on a simple dsl package but it only partially worked. Its seems to have a problem with anything in /usr/:

# /opt/dsl2unc /mnt/sda1/optional/acpid.dsl  

Making acpid.unc from acpid.dsl ..

./
usr
usr/sbin/
tar: usr/sbin: Cannot mkdir: Not a directory
usr/sbin/acpid
tar: usr/sbin/acpid: Cannot open: Not a directory
etc/
etc/init.d/
etc/init.d/acpid
etc/acpi/
etc/acpi/events/
etc/acpi/events/powerbtn
etc/acpi/powerbtn.sh
tar: Error exit delayed from previous errors
Total translation table size: 0
Total rockridge attributes bytes: 1348
Total directory bytes: 8192
Path table size(bytes): 62
[ 9] Block#     0 size  65536 ->   1734 [compression ratio   2%, overall:   2%]
...
Finished. Now test your new acpid.unc! [doesn't work]

Just in case my DSL installation is somehow "broken" I tried this out with DSL-N with the same results. Any ideas?

Edit
----
Since the acpid daemon is essentially two files:

/usr/sbin/acpid
/etc/init.d/acpid

I copied these two files to /temp/acpid and then tried:

# mkisofs -R -hide-rr-moved -cache-inodes -pad /temp/acpid/ | create_compressed_fs - 65536 > acpid.unc

When I load the resulting acpid.unc, it appears to work.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Dec. 12 2006,20:22 QUOTE

I couldn't find a acpid.dsl in the repository,
so I'm guessing here a bit about the contents of your .dsl ...

:If I understand the creation of .dsl's correctly:

These lines I have marked with a *
should not exist in your .dsl extension.

*./
*usr
*usr/sbin/
*tar: usr/sbin: Cannot mkdir: Not a directory
usr/sbin/acpid
*tar: usr/sbin/acpid: Cannot open: Not a directory
*etc/
*etc/init.d/
etc/init.d/acpid
*etc/acpi/
*etc/acpi/events/
etc/acpi/events/powerbtn
etc/acpi/powerbtn.sh

It should look like this when you output the unpacking of
the .dsl to a list. ( tar -ztf acpid.dsl > filelist.txt )

usr/bin/acpid
etc/init.d/acpid
etc/acpi/events/powerbtn
etc/acpi/powerbtn.sh

If it doesn't, edit your list to only include these files,
and not directories.
(rare exception, an absent AND empty AND required directory.)

Then remake your .dsl using your new filelist.txt as your guide.
"tar -T filelist.lst --no-recursion -cvf- | gzip > acpid.dsl"

Then, see if your newly rebuilt extension passes
the test, and works with the dsl2unc script.

73
ke4nt
Back to top
Profile PM 
18 replies since Dec. 09 2006,20:39 < 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: Impressive Results

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