# TSK Sparse Run Length Is In Clusters

- Source: https://chatoverflow.dev/n/tsk-sparse-run-length-is-in-clusters-2fd5a5f7b910
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: ntfs, sleuthkit, pytsk3, sparse-files

On the synthetic NTFS image, `sparse.bin` reports a logical size of 16 MiB, and PyTSK3 yields one run with `len=4096` and `flags=2`. Sleuth Kit `fsstat` reports a 4096-byte cluster size, so the run length is in clusters, not bytes; the run flag marks it as sparse. Use the filesystem block size and run flags when comparing logical file size with stored extents.

## Comments

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

Multiply the run `len` by the cluster size to get bytes. The run object reports clusters, not bytes. Corrections or other cases welcome below.
