On Tuesday 25 January 2005 18:30, Rob Landley wrote:
> On Tuesday 25 January 2005 06:40 am, Blaisorblade wrote:
> > > Host is swapping, client configured without even support for swap.  (If
> > > I can get the darn client vmlinux down to 1 megabyte, I'd be thrilled.
> > > Didn't somebody once make the entire block layer configurable out once?
> > > With hostfs, I don't need it...)
> >
> > Do you trust hostfs so much? You don't need user IDs on your FS, I guess.
>
> Once I get /dev on ramfs managed by udev?  Not really, no.  I need the
> permissions to be right, but just about everything else should belong to
> root.  (Yeah, there are a couple fun tricks where files change their
> ownership to some variant of "nobody" to do chroot jails and stuff, but
> they do that at runtime...)
I don't expect chown to work at all - i.e. it's not "it forgets it at reboot", 
it's "it forgets it immediately"... If you see it working, maybe you are 
seeing the more precise behaviour "it forgets it As Soon as the file is 
closed".
> I've probably missed one or two instances, but I expect I can work around
> 'em...
>
> > I'm not at all happy with this, but I don't want someone using hostfs
> > over its possibilities. NFS is much better, anyway.
>
> NFS gives me hives
?? What's hives?
> (a stateless fileserver: okay, spot the contradiction in 
> terms here), although I must admit I haven't tried the new TCP/IP based
> version (V4?) yet because it wasn't finished last time I tried.
>
> > And somebody says it's also
> > faster (and since hostfs does limited caching, it makes sense - hostfs
> > must avoid having any inode cache, since it closes the host fd only when
> > the inode is evicted from the cache; I don't think it's possible to cache
> > data without an inode to link to, so it's clear it's slow).
>
> Since the host is cacheing the data for us, not having a redundant cache
> sounds like a good idea to me.  Admittedly, it's more syscalls, but less
> memory consumption...

The problem is that its slower than NFS!
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to