From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Subject: Re: [uml-devel] synchronous hostfs
Date: Wed, 29 Dec 2004 19:06:08 +0100 [thread overview]
Message-ID: <200412291906.08122.blaisorblade@yahoo.it> (raw)
In-Reply-To: <27776.1104084973@marajade.sandelman.ottawa.on.ca>
On Sunday 26 December 2004 19:16, Michael Richardson wrote:
> I'm running 2.4.26-um3.
> I happen to be running hostfs with NFS underneath.
> I get core dumps from my application, and I want to gdb them outside
> of the UML.
> I had to switch from core dump to NFS (which seems to fail
> now) to putting them in /tmp (which is ramdisk), and then move them to
> /var/tmp, which is hostfs.
Hmm - were you putting the core dumps inside a hostfs mount, right? This has
been reported to fail badly with 2.4.26-3um... the hostfs contained in
2.4.24-1um and 2.4.27-1bs (this tree is from me, on my homepage) is stable,
while the one in 2.4.24-2um and subsequent releases isn't.
> Still, I now have to use unique file names, or things get confused
> between host and guest.
>
> I also like to do:
> "make DESTDIR=/uml/root/file install"
> from outside. This now only has effect if I umount/mount the file
> system. (I know have a /usr/local mount just for this, even though
> /usr/local is inside of /)
> It used to be that this was a problem only if the program was running.
> Is there some way to defeat the caching that is occuring?
> or even to just flush it? (other than umount)
Hmmm, I don't know this... probably giving "sync" inside UML should work.
I remember that Jeff said that he made hostfs asynchronous in those releases
on purpose (for performance, IIRC), and this is not bad.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-12-29 18:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-26 18:16 [uml-devel] synchronous hostfs Michael Richardson
2004-12-29 18:06 ` Blaisorblade [this message]
2004-12-30 4:16 ` Michael Richardson
2005-01-04 20:00 ` 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=200412291906.08122.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=mcr@sandelman.ottawa.on.ca \
--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