0

I've been using debirf to create a ram-only image of Debian. Is there an equivalent tool for CentOS?

1 Answer 1

0

You can achieve that with tmpfs on CentOS-5+ (not sure about CentOS-4)

tmpfs is a special filesystem that does not reside on a physical disk but rather in a portion of your memory. This has the side effect that if you lose power (or reboot) all contents on tmpfs are lost.

Example:

tmpfs                   /tmp                    tmpfs   size=512m       0 0

More details could be found here:

http://wiki.centos.org/TipsAndTricks/TmpOnTmpfs

https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt

1
  • Debirf has infrastructure for building a complete Debian install into a ramdisk. It provides templates for rescue mode, kiosk mode, etc. I know that tmpfs can be used for this, but I was hoping CentOS has a similar tool for generating a complete ramdisk.
    – T.D. Smith
    Aug 5, 2015 at 16:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .