To create a sparse file on UNIX use following command line:
$ dd if=/dev/zero of=<file name> bs=<block size> count=1 seek=<position>
The result of the command line is a file named ‘<file name>’ of a size ‘(position+1)*block size’.
To create a sparse file on UNIX use following command line:
$ dd if=/dev/zero of=<file name> bs=<block size> count=1 seek=<position>
The result of the command line is a file named ‘<file name>’ of a size ‘(position+1)*block size’.