Create a large file filled with zeros on Linux – twm’s blog
Posted by jpluimers on 2020/04/13
Interesting read as there are at least 3 options of which I only knew the first (dd): [WayBack] Create a large file filled with zeros on Linux – twm’s blog.
dd(fully allocated storage; zeros, random or another data source)truncate(sparse storage; always gets zeros)fallocate(fully allocated storage; always gets zeros)
–jeroen
via: [WayBack] Sometimes you need a large file for testing purposes or just to take up space that should not be available on the file system. There are several options… – Thomas Mueller (dummzeuch) – Google+






Leave a comment