[PLUG] ubd2 mount problem in user mode linux
Steve Jorgensen
jorgens at coho.net
Fri Jul 4 23:04:01 UTC 2003
I'm gradually learning the stuff I need to make my uml strategy work, and I
just hit a wall I can't seem to get past on my own. I'm running the uml
with the desired ubd0 image just fine, but I can't seem to make any other
ubd device work right. First off, the image that rootstrap made did not
have ubd1, ubd2, etc, though it has ubda0, ..., ubdb0, ... and many others
I won't need. Anyway, I made the ubd2 node using mknod /dev/ubd2 b 98 2,
but mount behaves very strangely.
Whether I try to pass an unmounted partition directly (e.g. /dev/hde6) or
an image file, I get the same strange behavior when I try to mount it in
uml using mount -t ext /dev/ubd2 /testmount. The mount says it was
successful, but if I ls /testmount, I see a mirror image of the uml root
directory - not good! To test and make sure my image file itself was not
somehow a copy of the uml image, I tried creating a dummy file in the root
before mounting. Sure enough, the dummy file shows up in ls /testmount.
Does anyone know what is going on and/or how to fix it?
Thanks,
- Steve Jorgensen
More information about the PLUG
mailing list