LINUX.ORG.RU

История изменений

Исправление Pinkbyte, (текущая версия) :

http://en.wikipedia.org/wiki/Sparse_file

Alternatively, the du command prints the occupied space, while ls prints the apparent size. The option --block-size=1 prints the occupied space in bytes instead of blocks, so that it can be compared to the ls output:

du --block-size=1 sparse-file
ls -l sparse-file

Еще вопросы?

Исходная версия Pinkbyte, :

http://en.wikipedia.org/wiki/Sparse_file

Alternatively, the du command prints the occupied space, while ls prints the apparent size. The option --block-size=1 prints the occupied space in bytes instead of blocks, so that it can be compared to the ls output:

du --block-size=1 sparse-file
ls -l sparse-file

Еще вопросы?