How can I create sparse files under Red Hat Enterprise Linux?

Updated -

Sparse files are files that have large amounts of space preallocated to them, without occupying the entire amount from the filesystem.  They are useful for reducing the amount of time and disk space involved in creating loop filesystems or large disk images for virtualized guests, among other things.

Sparse files can be created using the dd command's seek

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In