Blaisorblade <[EMAIL PROTECTED]> writes:

> On Friday 13 January 2006 14:40, Nic Ferrier wrote:
>> Jeff Dike <[EMAIL PROTECTED]> writes:
>> > On Thu, Jan 12, 2006 at 11:44:50PM +0000, Nic Ferrier wrote:
>> >> I'm getting this problem as well. But mine seems to be related to udev
>> >> not registering the device.
>> >
>> > Yeah, there's something missing in the ubd driver.  We need to add
>> > some sort of sysfs registration there.
>>
>> But if I do:
>>
>>    ./linux ... udb0=/var/local/someloopbackedfile ...
>>
>> and then inside UML:
>>
>>    mknod /dev/ubd0 b 98 0
>>
>> and then:
>>
>>    mount -t extfs /dev/udb0 /mnt
>
> You're consistently mispelling this. ubd0, not udb0! I'm not sure, but I seem 
> to remember that ubd devices are created. At least they regularly appear in 
> sysfs, now.

A typo in the email, not when I do it.

The devices should be created but Jeff was saying there's a bug with
udev support?



> Also, -t extfs is VERY wrong (ever mounted something?). You want one of:
> -t ext2
> -t ext3
> -t reiserfs

extfs meant "some ext fs". Clearly I can use either ext2 or ext3
depending on what I created.

As it happens it was an ext2 fs.


> ...
>> should it work? coz it doesn't  /8-<
> Look at error messages and let them help you finding the road...

The error message is:

  $ mknod /dev/udb0 b 98 0
  $ mount -t ext2 /dev/udb0 /mnt
  mount: /dev/udb0 is not a valid block device


Nic


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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