public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Timothy Miller <miller@techsource.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Overlay ramdisk on filesystem?
Date: Thu, 15 Apr 2004 23:13:40 +0200	[thread overview]
Message-ID: <87hdvl7xmj.fsf@deneb.enyo.de> (raw)
In-Reply-To: <407EF9C4.4070207@techsource.com> (Timothy Miller's message of "Thu, 15 Apr 2004 17:08:20 -0400")

Timothy Miller <miller@techsource.com> writes:

> I have a feeling that this may be a bit too off-topic, but I'm doing
> some Linux and hardware performance tests, and some of the tests will
> put the hardware into an unstable state which could get memory errors
> which could cause filesystem corruption.

In the presence of memory errors, all bets are off anyway.

> I would like to know how I could overlay a RAM disk over a read-only
> filesystem so that all new files and modified files end up in the RAM
> disk, but old files are read from the disk.  This way, when I reboot,
> the disk reverts back.

You might have to tweak the underlying file system, too.  IIRC, ext2
avoids to reallocate freshly deallocated blocks, to prevent
fragmentation.  This will waste a lot of RAM on the long run.

-- 
Current mail filters: many dial-up/DSL/cable modem hosts, and the
following domains: bigpond.com, postino.it, tiscali.co.uk, tiscali.cz,
tiscali.it, voila.fr.

  reply	other threads:[~2004-04-15 21:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 21:08 Overlay ramdisk on filesystem? Timothy Miller
2004-04-15 21:13 ` Florian Weimer [this message]
2004-04-16 19:38 ` Erik Tews

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=87hdvl7xmj.fsf@deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miller@techsource.com \
    /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