OpenVZ Forum


Home » Mailing lists » Users » Problems with Gentoo template creation
Re: Problems with Gentoo template creation [message #5111 is a reply to message #5099] Fri, 11 August 2006 16:31 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Ronald Tanner wrote:
> And there is another step in the preparation of the os template which
> needs some explanation. Why do I have to replace /etc/mtab with
> a link to /proc/mounts?
This is because 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.

If you will replace /etc/mtab with a symlink to /proc/mounts, you will
always have up-to-date information of what is mounted in /etc/mtab.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: -bash: child setpgid (7091 to 8093): Operation not permitted
Next Topic: Can't ping VE from Host
Goto Forum:
  


Current Time: Fri Jul 19 23:27:28 GMT 2024

Total time taken to generate the page: 0.02279 seconds