

18-Dec-2013: Convert to sparse file utility (win32)
source link: https://yurichev.com/blog/77/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
18-Dec-2013: Convert to sparse file utility (win32)
Just wrote utility intended for converting files into sparse ones on Windows NTFS file system. Sparse files are those in which long zero blocks are not stored on hard disk, but replaced to information about them (metadata) instead. These files are very useful for saving space on storing half-empty ISO files, half-downloaded torrent files, virtual machine disk images.
I need it primarily for VMware WS disk images "compressing". I suppose, many other Oracle specialists use VMware machines with a lot of Oracle versions as well :-)
More about them: https://en.wikipedia.org/wiki/Sparse_file
Compiled executable file: //yurichev.com/utils/cvt2sparse.exe
That is how it looks after converting:
This one-liner is to be run inside of *NIX virtual machine to write zeroes to unused parts of file system:
dd if=/dev/zero of=empty_file; rm empty_file
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK