You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapcontinue="Rename_vServer" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1963" ns="0" title="Read-only RootFS">
        <revisions>
          <rev xml:space="preserve">=Read-only RootFS=

==Preparing==

* Build your host
  vserver vs1 build --force -m debootstrap --hostname vs1.localhost -- -d squeeze -m http://ftp.se.debian.org/debian

==Modifying==

* Modify /etc/vservers/vs1/fstab according to

  /etc/vservers/vs1/vdir	/	ext3	bind,rw,dev	0 0
  none	/proc		proc	defaults		0 0
  none	/tmp		tmpfs	size=16m,mode=1777	0 0
  none	/var/lock		tmpfs	size=16m,mode=1777	0 0
  none	/var/run		tmpfs	size=16m,mode=1777	0 0
  none	/lib/init/rw		tmpfs	size=16m,mode=1777	0 0
  none	/dev/pts	devpts	gid=5,mode=620		0 0
  /writeable_root/vs1	/home/vs1	ext3	bind,dev	0 0

* Add an .oldroot-directory to the installation (vcontext creates this directory, but skips if it already exists)
  mkdir /etc/vservers/vs1/vdir/.oldroot
  chmod 0700 /etc/vservers/vs1/vdir/.oldroot

* Create the folder that holds the log-folder ( If you want to save these. )
  mkdir -p /writeable_root/vs1/log
  mkdir /etc/vservers/vs1/vdir/home/vs1
  rm -rf /etc/vservers/vs1/vdir/var/log
  ln -s ../home/vs1 /etc/vservers/vs1/vdir/var/log

==Completing==

* Start the vserver and stop it, to make use of the .oldroot.
  vserver vs1 start
  vserver vs1 stop

* If the root is still read-write inside the vserver, add the following to pre-start script
  mkdir /etc/vservers/vs1/scripts
  echo &quot;mount -o bind,remount,ro . .&quot; &gt; /etc/vservers/vs1/scripts/pre-start

* Note that the vserver has to be started read-writeable once. Now that it has been started and stopped, change the 'rw' to 'ro' in fstab.

[[Category:Documentation]]</rev>
        </revisions>
      </page>
      <page pageid="1409" ns="0" title="Related Projects">
        <revisions>
          <rev xml:space="preserve">{{NeedCompletion}}

== Emulation ==

* [http://wiki.qemu.org/Index.html Qemu] - QEMU CPU Emulator
* [http://bochs.sourceforge.net/ Bochs] - highly portable open source IA-32 (x86) PC emulator written in C++
* [http://pearpc.sourceforge.net/ PearPC] - architecture-independent PowerPC platform emulator

== Paravirtualization ==

* [http://www.cl.cam.ac.uk/Research/SRG/netos/xen/ Xen] - Xen virtual machine monitor

== Native Virtualization ==

* [http://kvm.qumranet.com/kvmwiki KVM] - Kernel Based Virtual Machine
* [http://www.vmware.com VMware] - desktop virtualization software for software developers/testers
* [http://www.virtualbox.org/ VirtualBox] - GPL Virtual Computer
* [http://user-mode-linux.sourceforge.net/ UML] - User-mode Linux

== Operating System-level Virtualization ==

* [http://www.freevps.com FreeVPS] - early Linux-VServer fork (Currently a dead link.  Try web.archive.org)
* [http://openvz.org OpenVZ] - Open Source version of the commercial Parallels Virtuozzo Containers product from Parallels
* [http://www.freebsd.org/doc/handbook/jails.html FreeBSD jails] - the closest equivalent standard feature in FreeBSD ([http://docs.freebsd.org/44doc/papers/jail/jail.html whitepaper])
* [http://sysjail.bsd.lv/ Sysjail] - systrace userland virtualisation
* [http://www.sun.com/bigadmin/content/zones/ Solaris Zones] - the closest equivalent standard feature in Solaris 10
* [http://lxc.sourceforge.net/ LxC Linux Containers] - Linux implementation based on control groups and namespaces

== Cluster Virtualization / Cloud Computing ==

* [http://trac.enomalism.com Enomalism] - AGPL licensed multi-hypervisor web based virtualization framework
* [http://www.openqrm.com openQRM] - openQRM is the next generation, open-source Data-center management platform.

[[Category:Community]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>