linux-um archives
 help / color / mirror / Atom feed
From: "Alejandro Liu" <alejandro_liu@hotmail.com>
To: blaisorblade@yahoo.it,
	user-mode-linux-devel@lists.sourceforge.net, jdike@addtoit.com
Subject: Re: [uml-devel] Which version to use
Date: Wed, 09 Aug 2006 16:06:10 +0000	[thread overview]
Message-ID: <BAY7-F2368BCD814F328231685E594550@phx.gbl> (raw)

[-- Attachment #1: Type: text/plain, Size: 2821 bytes --]

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 <blaisorblade@yahoo.it>
>To: user-mode-linux-devel@lists.sourceforge.net
>CC: "Alejandro Liu" <alejandro_liu@hotmail.com>
>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 #2: patch-hostfsfix.gz --]
[-- Type: application/gzip, Size: 875 bytes --]

[-- Attachment #3: patch-frhost.gz --]
[-- Type: application/gzip, Size: 10881 bytes --]

[-- Attachment #4: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #5: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

             reply	other threads:[~2006-08-09 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09 16:06 Alejandro Liu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-08  4:52 [uml-devel] Which version to use Alejandro Liu
2006-08-08 18:29 ` Blaisorblade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY7-F2368BCD814F328231685E594550@phx.gbl \
    --to=alejandro_liu@hotmail.com \
    --cc=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox