LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] create_compressed_fs

[ILUG] create_compressed_fs

Niall O Broin niall at magicgoeshere.com
Tue Jun 20 00:31:16 IST 2000


On Mon, Jun 19, 2000 at 02:38:10PM +0100, John P. Looney (Kate) wrote:

> On Mon, Jun 19, 2000 at 02:59:54PM +0100, Niall O Broin mentioned:
> > >  That BBC creation package seems to need a command called
> > > "create_compressed_fs"...anyone know where it lives ?
> > 
> > Use the source, Luke . . 
> > 
> > The source is somewhere on the CD - it's in the singularity filesystem, so
> > you'll have to boot the CD to find it, or extract the filesystem. I can't
> > remember where, but find is your friend.
> 
>  Dave O'Connor posted the source to the list, and I downloaded it & un
> compressed it, tryed to get some of the system-specific references from it
> out of there...
> 
>  but it's still looking for that command, that's not in the distro. Has
> anyone gotten a BBC ISO image built yet ?

Yes, the previously mentioned BBC CD meister. The source for
create_compressed_fs is, as mentioned, on the CD. As find apparently is NOT
your friend (maybe it doesn't like you now that you've attained high office)
I did it for you, and found it in /usr/src/cloop, when booted from the CD.
Alternatively, you can get it like this

  
# mount -t iso9660 -o loop linuxcare_ISO /mnt   
# /mnt/extract_compressed_fs /mnt/singularity >/tmp/linuxcare_fs
# umount /mnt   
# mount -o loop /tmp/linuxcare_fs /mnt
# cd /mnt/usr/src/cloop

and there it is. There's a Makefile there, but you'll need to make zlib.a in
the zlib-1.1.3 directory before you can make create_compressed_fs and as you
can't write on the loopback mounted filesystem, you'll need to copy the
cloop directory somewhere else first. create_compressed_fs takes two
arguments - the name of the ext2fs and the block size (linuxcare use 16384
on their CD so I stuck with that) and the compressed filesystem is written
to STDOUT.

However, although I have built BBC CDs (I wrote the non-linuxcare versions
at the AGM from an ISO I built) I have to admit that I didn't go near the
compressed filesystem for those - I only added in the corrected
extract_compressed_fs from the linuxcare web site. However, I have modified
the compressed filesystem for a test (I added the file NIALL_WAS_HERE :-) ) and
it worked worked fine, so the ground work for the ILUG bootable CD is done.
Now I just need to know what to change. ssh will go in, and Irish ISP
details for wvdial. If possible, I'll shoehorn xemacs in (I'm joking (I
think)) but otherwise I'll replace joe with jed, which is a better small
editor for emacs users.



Regards,


Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell