hints & tips // 2008.07.15 08:16:16 [hh]
Wie vergrößert man eine bereits angelegte virtuelle Festplatte der Virtualisierungs-Software "VMWare Fusion" am Mac? Ein einfacher Trick erlaubt diese und weitere Operationen. Screen2.0 zeigt, wie es geht.
Im Bundle der Applikation findet sich in dem Ordner Contents/MacOS eine interessante Datei namens diskTool. Wenn man diese ohne Parameter im Terminal aufruft:
/Applications/VMware\ Fusion.app/Contents/MacOS/diskTool
dann bekommet man alle Optionen angezeigt:
Usage: /Applications/VMware Fusion.app/Contents/MacOS/diskTool OPTIONS diskName
Options:
: open disk
-0 : zero disk
-A: migrate (1 means mono, 0 means 2Gb)
-b (sync|async|sync-rc|async-rc): combine, specify links to combine
-B: like '-b sync' but specify links from bottom,
-c: compare with this disk
-C: checksum data on disk
-d : defragment
-D: dump num sectors beginning at offset
-e: print name of given error code
-E encrypt : encrypt disk; must specify -K also
-E decrypt : decrypt disk
-E reencrypt : reencrypt disk; must specify -K also
-E rekey : change disk keys; must specify -K also
-E testEncrypted : checks for encrypted disk or descriptor
-f : check disk consistency and fix it
-F: run commands from external file
-g: DDB Get
-G : get the fragmentation percentage
-h: Run open/getinfo/close times
-i : print GetInfo
-I : run locking test
-j : generate new content id
-k: shrink (0 means copy, 1 means in-place)
-K pw : use password read from console as key
-K pub:: use public key from file as key
-l : do not lock disk
-L : list partitions on device
-m : don't use redundant metadata
-M: cipher to use for encryption
-n : open in no I/O mode
-o: open in readcache mode
-p : open all parents recursively
-P: reparent disk with fileName
-q : quiet
-Q : super quiet
-r : open read-only
-R: replace diskName with string
-s : open with OPEN_SYNC
-S : sanity check
-t, : DDBSet
-T: Stop zero and compare and randwrite operations at sectors
-u : unlink the disk
-U : use buffered I/O
-v level : verbosity level
-w: write pattern at offset/length
-W: read and compare pattern at offset/length
-x : check disk consistency
-X: grow disk
-y : print on-disk and in-memory generation file
-z: write a bunch of random data generated by
-Z: quick version of '-z'