I'm trying to use an iso or cramfs image as a ubd device with a command
line option.  However, I am unable to mount either iso9660 or cramfs
type filesystems.  This is the setup:

host$ mkdir iso_tmp
host$ mkdir cramfs_tmp
host$ echo hello > iso_tmp/hello.txt
host$ echo hello > cramfs_tmp/hello.txt
host$ mkisofs -R -q -o iso_tmp.iso iso_tmp
host$ mkcramfs cramfs_tmp cramfs_tmp_fs
host$ linux ubd0=ext2_fs ubd1=iso_tmp.iso ubd2=cramfs_tmp_fs

uml# mount -t iso9660 /dev/ubd1 /opt
mount: wrong fs type, bad option, bad superblock on /dev/ubd1,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
uml# mount -t cramfs /dev/ubd2 /opt
mount: wrong fs type, bad option, bad superblock on /dev/ubd2,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)

uml syslog shows:
Unable to identify CD-ROM format.
cramfs: wrong magic

I've also tried copying these files from the host to the uml machine
using scp.  In this case I am able to mount both the iso9660 and the
cramfs as loopback devices.

Any suggestions would be great.
Casey




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to