Mast Kalandar

bandar's colander of random jamun aur aam

Fri, 08 Apr 2005

< Happy Republic Day | · | Using remote X with VNC >

System without a "real" file-system


floss, lg, tips [link] [comments ()] [raw]

It possible to run with only swap space. (Boot from a CD/USB of course!)

  1. Make a 2GB (or however large your file-system is!) swap space.

  2. Mount a tmpfs and tweak its number of nodes and size ("man mount" is your friend here!).

  3. Copy all your files to this tmpfs. (This takes a while....).

  4. pivot_root/chroot to this tmpfs and run from there!

I believe the recent Knoppix has a "toram" boot parameter that allows you to do something similar.

This gives a completely "ephemeral" system---switch off and its gone!

On the other hand you could also run disk-suspend to switch off power without losing the system.

Ext2/3, Reiser, JFS, ... who needs them?!


Archives

< April 2005 >
SuMoTuWeThFrSa
      1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930

2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1997, 1995,