Calling Mr John Garvey - mountimg does not work with Iso9660

Hi John,

So I’ve gone through this whole laborious procedure of building an
installation file system and testing scripts for doing automated cd
installs, etc. … Only to discover that the ‘mountimg’ utility you gave me
doesn’t like CD file systems. I get the following message:
mountimg: unable to open ‘/cd0/Qnx.fs.img’ (Function not implemented)

I did some testing…

Thinking that it might have something to do with a read only file system. I
copied the file ‘Qnx.fs.img’ to an empty hard drive partition, umount’d the
partition, then mounted it as read-only and tried ‘mountimg’ on the file.
It worked.

So, I think it may have something to do with querying extent information
e.g. ‘ls -x /cd0’ also returns an error of Function not implemented.

Is there any possibility of a work around for this? Or am I SOL on this
approach? … sniff :wink:

TIA

-Rob

Rob <rob@spamyouself.com> wrote:

So, I think it may have something to do with querying extent information
e.g. ‘ls -x /cd0’ also returns an error of Function not implemented.

Exactly; Iso9660fsys does not support fsys_xstat(), used to find out the
location of the file image to fake it as being a pseudo-partition.

Is there any possibility of a work around for this? Or am I SOL on this
approach? … sniff > :wink:

As I said, this was an unsupported concept tool I was playing with 4
years ago, don’t know if/when I’d get a chance to look at it again.
You may have to copy the image off the CD onto the hard drive first …

I understand about being “unsupported” and I’m already working on a copy to
a ram disk approach… BUT, keeping the boot image under the recommended max
size is very difficult. I may be able to overcome that problem by moving
some of the boot processing to a sysinit that uses a handful of utilities
placed on the CD just for boot up purposes . In any case, my “full blown”
CD qfs “image” is around 170M, which will make for a rather slow boot! I’ll
just have to see how it all works and weigh the tradeoffs between this
approach and the original “native” ISO file system.

Thanks anyway… BUT, if you do get a chance to work on it (with success)
please let us all know. It would really be a great solution for bootable
Qnx4 CDs.

And, if I may ask… Why doesn’t Iso9660fsys support fsys_stat()? It’s a
resource manager, isn’t it? Couldn’t it just fake it?

-Rob

“John Garvey” <jgarvey@qnx.com> wrote in message
news:b631ga$lip$1@nntp.qnx.com

Rob <> rob@spamyouself.com> > wrote:
So, I think it may have something to do with querying extent information
e.g. ‘ls -x /cd0’ also returns an error of Function not implemented.

Exactly; Iso9660fsys does not support fsys_xstat(), used to find out the
location of the file image to fake it as being a pseudo-partition.

Is there any possibility of a work around for this? Or am I SOL on this
approach? … sniff > :wink:

As I said, this was an unsupported concept tool I was playing with 4
years ago, don’t know if/when I’d get a chance to look at it again.
You may have to copy the image off the CD onto the hard drive first …