From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GllkG-0004Oa-3i for qemu-devel@nongnu.org; Sun, 19 Nov 2006 07:26:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GllkF-0004O8-C9 for qemu-devel@nongnu.org; Sun, 19 Nov 2006 07:25:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GllkF-0004O5-80 for qemu-devel@nongnu.org; Sun, 19 Nov 2006 07:25:59 -0500 Received: from [206.190.48.218] (helo=web52615.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1GllkF-00089p-4l for qemu-devel@nongnu.org; Sun, 19 Nov 2006 07:25:59 -0500 Date: Sun, 19 Nov 2006 04:25:58 -0800 (PST) From: Ottavio Caruso Subject: Re: [Qemu-devel] -snapshot and tmpsfs MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <614652.96880.qm@web52615.mail.yahoo.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > From: Michael McConnell > On Sat, 18 Nov 2006, Ottavio Caruso wrote: > > > Are the writes to tmpfs (in a *nix guest OS) recorded to the > > snapshotted image? > > > > Example: /var/run on tmpfs > > OS writes to /var/run. Bigger temp file or not? > > This isn't a guaranteed certain answer, but IIRC tmpfs uses system > RAM and > swap as its storage. Therefore a guest writing into its tmpfs > space would > only touch the host filesystem if it were to use the swapfile. > > As you say you're using the snapshot mode it would, if the swapfile > is > touched, go into the snapshot temp file, otherwise it wouldn't. > > -- Michael "Soruk" McConnell > Eridani Star System As my guest OS (Debian) was filling /var/cache/apt/* with MB's of stuff, I have modified /etc/fstab and mounted all /var/cache/apt and children directories on tmpfs, then I have installed/uninstalled a few packages. I have compared the size of the temp snapshot file with the one generated before and I have found no differences. I wonder if that means something. Ottavio Caruso ____________________________________________________________________________________ Sponsored Link Mortgage rates near 39yr lows. $310k for $999/mo. Calculate new payment! www.LowerMyBills.com/lre