On Monday 16 January 2006 14:28, Nic Ferrier wrote:
> Blaisorblade <blaisorblade@...> writes:
> > On Friday 13 January 2006 14:40, Nic Ferrier wrote:
> >> Jeff Dike <jdike@...> 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
Either you didn't pass ubd0=ThePath or ThePath is not readable/writable. The
scenario you describe is conceptually correct and works, so there's some
hidden error in what you do.
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive