Created
February 5, 2018 22:18
-
-
Save glauber-md/83e05095a24d55c4fbe92d67c4d6e428 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Allocates space on disk by creating a dull file for testing purposes | |
f = open("/tmp/testfile.bin", "wb") | |
size = 10 * 1024 * 1024 | |
f.write("\0" * size) | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment