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