Re: Overlay ramdisk on filesystem?

From: Erik Tews
Date: Fri Apr 16 2004 - 16:37:31 EST

Am Do, den 15.04.2004 schrieb Timothy Miller um 23:08:
> 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.
> 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.

This could be possible using a ramdisk, a filesystem on a disk (which
could be a read only block device like a cdrom too), device-mapper and
its snapshot-target. But I did not try yet.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at