vmdk中macosx瘦身
作者:互联网
1.老版HFS文件系统
sudo /Library/Application\ Support/VMware\ Tools/vmware-tools-cli disk shrink /
2.针对HFS文件系统:
diskutil secureErase freespace 0 machd
vmware-vdiskmanager -d ‘/media/JiaSu/SF/10Archs/03BakeUp/VMDK/raw/mac.vmdk’
vmware-vdiskmanager -k ‘/media/JiaSu/SF/10Archs/03BakeUp/VMDK/raw/mac.vmdk’
3.针对APFS文件系统:
cat /dev/zero > wipefile; rm wipefile
vmware-vdiskmanager -d ‘/media/JiaSu/SF/10Archs/03BakeUp/VMDK/raw/mac.vmdk’
vmware-vdiskmanager -k ‘/media/JiaSu/SF/10Archs/03BakeUp/VMDK/raw/mac.vmdk’
标签:media,macosx,JiaSu,mac,vmdk,VMDK,瘦身,vmware 来源: https://blog.csdn.net/yulunze/article/details/109948684