Re: uml: using hostfs as rootfs is not working

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Américo
Date: Friday, November 21, 2008 - 10:44 am

On Wed, Nov 19, 2008 at 07:32:16PM +0100, Jan Engelhardt wrote:

Hi, Jan!




I think this error comes from arch/um/drivers/ubd_kern.c::ubd_open_dev()



This is from the caller: ubd_open().

ubd_open_dev() calls open_ubd_file() to open the ubd device, which, in
turn, calls os_open_file() which is a wrapper of open64().

And errno 21 should be EISDIR, for open(), which means we invoked it
with a writing operation, probably O_RDWR...

So I think there must be something wrong in the code, writing to a
directory is suspicious...

I will try to check it.

Thank you!

-- 
"Sometimes the only way to stay sane is to go a little crazy."

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
uml: using hostfs as rootfs is not working, Jan Engelhardt, (Wed Nov 19, 11:32 am)
Re: uml: using hostfs as rootfs is not working, Américo, (Fri Nov 21, 10:44 am)