Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
khc
on June 11, 2014
|
parent
|
context
|
favorite
| on:
Who Needs Git When You Got ZFS? (2013)
Unless you want the space to be pre-allocated
stevekemp
on June 11, 2014
|
next
[–]
Yeah I've seen hosting companies in the past use sparse files for virtual machine storage - all is good unless, or until, they overcommit.
At which point you have filesystem-soup..
anon4
on June 11, 2014
|
prev
[–]
Yes, the better way is by using the fallocate program which uses the posix_fallocate syscall, which makes a new file with a given size containing whatever happened to be on disk at the time. Basically malloc for filesystems.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: