Skip to content

Instantly share code, notes, and snippets.

View fsaintjacques's full-sized avatar
🎯
Focusing

François Saint-Jacques fsaintjacques

🎯
Focusing
  • Montréal, Québec
View GitHub Profile
@minaguib
minaguib / linux-sparse-files-primer.txt
Created September 11, 2017 19:39
A quick linux sparse file primer
# Create a 10-Meg file
$ dd if=/dev/zero of=foo bs=1024 count=10240
10240+0 records in
10240+0 records out
10485760 bytes (10 MB) copied, 0.0142283 s, 737 MB/s
# Check with ls = 10M
$ ls -la foo
-rw-rw-r-- 1 mina mina 10485760 Sep 11 15:32 foo