Since I am shy, I am posting this here (and not to the LKML).

I am including to patch files:

   patch-hostfsfix.gz

This one fixes a crash when trying to mount hostfs, an error on how the mount options were passed and fixed the setattr to set the time correctly (touch command works now).

  patch-frhost.gz

This is a hack of hostfs. Essentially it adds a new filesystem type to UML, frhost. This filesystem is nearly identical to hostfs except one big difference: It stores and uses file ownership, permissions and mknod data from an external ".meta" file. All files under frhost are created using 0700 mode and owned by the UID of the UML process, however, internally, these files may be owned by the UML users. I guess this is similar to HUMFS (but I couldn't find it before I made my own).

BTW, frhost is limited to run over filesystems that use real i-node numbers. So it will not work over FAT file systems, for example.

PS: I have succesfully tested frhost as root file system and also compiling the linux kernel.

From: Blaisorblade <[EMAIL PROTECTED]>
To: [email protected]
CC: "Alejandro Liu" <[EMAIL PROTECTED]>
Subject: Re: [uml-devel] Which version to use
Date: Tue, 8 Aug 2006 20:29:53 +0200

On Tuesday 08 August 2006 06:52, Alejandro Liu wrote:
> Hi,
>
> What is a "current" version of UML to use as a guest? I am currently using
> the one that comes with the vanilla 2.6.17.6 kernel and trying to use
> hostfs as root and found a number of bugs.

> Of course I went ahead and fixed those bugs but I don't know if I should
> send the patches somewhere

Yes, thanks. To this list, Jeff Dike and me (and if you want LKML, but don't
do that if you're shy or not entirely sure).

> or if these bugs were fixed in some "secret"
> development version of UML.

No. hostfs is _at the moment_ unmaintained. There is a rewrite of hostfs
(based on the new externfs), but it is nowhere near merging (it's under slow
development since at least an year).

You can find the development tree here:
http://user-mode-linux.sourceforge.net/patches.html

> PS: Actually I did not set out to do bug hunting, I was just adding some
> features to hostfs that I wanted to use.
You could maybe post them too.
> The bug fixing was just a side
> effect.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

Attachment: patch-hostfsfix.gz
Description: application/gzip

Attachment: patch-frhost.gz
Description: application/gzip

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to