Ö÷ÒªÔÒò£ºVmware-ToolsµÄÒ»¸öÔ´´úÂëÓëа汾Ubuntu²»¼æÈÝ£¬ÐèÒªÐÞ¸ÄÕâ¸öÔ´´úÂ룬ȻºóÖØбàÒë°²×°Vmware-Tools¡£
²½ÖèÈçÏ£º
1. ½âѹVmware-ToolsµÄ°²×°Îļþ£¬µÃµ½vmware-tools-distrib£»
2. ½øÈëvmware-tools-distrib/modules/source£»
3. ½âѹvmhgfs.tarÎļþ£¬µÃµ½vmhgfs-onlyĿ¼£»
4. ½øÈë¸ÃĿ¼£¬¿ÉÒÔ¿´µ½inode.cÎļþ£¬È»ºó±à¼inode.c¡£ÓÉÓÚ¸ÃÎļþÖ»¶Á£¬Òò´ËÒªÏÈÓÐÓÃsudo chmodÃüÁîÔö¼ÓдȨÏ޲ſÉÒÔ±àÒ룻
5. ÀûÓÃvim±à¼£¬Èç:sudo vim inode.c£¬Ìøµ½888ÐУ¬½«resul = compat_vmtruncate(inode,newSize);¸ÄΪresult=0;
×¢£ºÒ²¿ÉÄÜΪ: result = vmtruncate(inode,newSize);
6. ɾ³ývmhgfs.tar; ½«vmhgfs-onlyÖØдò°üΪvmhgfs.tar(tar - cf vmhgfs.tar vmhgfs-only)
7. ɾ³ývmhgfs-onlyÎļþ¼Ð£»
8. ÖØа²×°vmware-tools£¬Ñ¡ÏîĬÈϼ´¿É¡£
9. °²×°Íêºó£¬¼´¿ÉʹÓù²ÏíÎļþ¼Ð¡£