Wednesday, April 2, 2008

mkisofs ( damn-small-linux ) uci iso

mini uci iso how to. for damn small linux apps.

1.sample . mini uci iso how to.

@sample
((( THIS IS A WORK AROUND ! ))

part1.

$ mkisofs -R -hide-rr-moved -cache-inodes -pad BitTornado/  | create_compressed_fs - 65536 > BitTornado_new-stable2008_axa.uci.iso
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
part2
$ md5sum *.uci.iso  > BitTornado.uci.md5.txt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AND DONE.

I will post on how to mount the compressed iso image at the bottum of the page.


((( DXL )))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

my notes.
NOTES.

NOTES for this system.
SYSTEM --> linux.
OS. ------> 'Damn small linux '
ABOUT. --> 'read the tittle at the top of the page.'
INFO.user. webpage. --> 'AXA' --> Anthony Wardcraft --> 

wardcraft.blogspot.com


# uci how to note.
# y2008 april axa.
/2008/April/2ND/ first draft. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2.dsl @dsl
((( THIS is from the official dsl book.))))

# $ mkisofs -R -hide-rr-moved -cache-inodes -pad zile/ \ 
 | create_compressed_fs - 65536 > ../zile.uci
@axa notes.
" This looks like a buch of bs ^ up there.
make a '.iso' file not foo '.uci' file."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3.dsl@dsl
Run the mkisofs command, run it through the create_compressed_fs command to compress the resulting ISO image, and create the updated uci file (called zile.uci). Options to mkisofs command allow Rock Ridge extensions for Linux file naming (-R), cause each hard linked file to only appear once on the CD-ROM image (-cache-inodes), and pads the image by 150 sectors (-pad):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


How to mount a compressed iso

FUSE WHAT? fuse did not work for me. I will try cloop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CLOOP works on damn-small-linux 1). part 1 @cloop
$ sudo mount *uci.iso  foo/ -t iso9660 -o ro,loop=/dev/cloop2 

"part2 info check to see if iso is mounted." @SHELL
$ df -h
anthony@box:/mnt/hda3/opt/realplayer-uci$ df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             4.6G  3.4G  1.1G  77% /
/dev/hda3              13G  9.9G  2.6G  80% /mnt/hda3

/mnt/hda3/opt/realplayer-uci/realplayer.uci.iso

                       16M   16M     0 100% /mnt/hda3/opt/realplayer-uci/foo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UN-MOUNT the file with umount.
2). part 2 @SHELL umount:
$ sudo umount   foo/ 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And done untill next time , fair well and good luck.

/2008/April/2ND/.. first post.
/2008/April/10TH... Cleanded up html-notes a little.

No comments: