[PLUG] ubd2 mount problem in user mode linux

Steve Jorgensen jorgens at coho.net
Fri Jul 4 23:21:02 UTC 2003


OK, I found the answer.  I had tried to search the Web before posting the 
question here, but I found it only just after posting.  The minor numbers 
for ubd<n> devices are 0, 16, 32, ..., not 0, 1, 2, ... in case anyone was 
curious.

On Friday, July 04, 2003 11:12 PM, Steve Jorgensen [SMTP:jorgens at coho.net] 
wrote:
> 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
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug




More information about the PLUG mailing list