Changes

Jump to: navigation, search

Gentoo template creation

298 bytes added, 07:29, 15 August 2006
Make /etc/mtab a symlink to /proc/mounts
===Make /etc/mtab a symlink to /proc/mounts===
The VE root filesystem is mounted by the host system, not the guest -- and therefore root fs will not appear in /etc/mtab. It will lead to df command non-working.
<pre>
rm -f /vz/private/777/etc/mtab
ln -s /proc/mounts /vz/private/777/etc/mtab
</pre>
After replacing /etc/mtab with a symlink to /proc/mounts, you will always have up-to-date information of what is mounted in /etc/mtab.
===Edit /etc/fstab===
8
edits

Navigation menu