3 ms·
> Edit: In case it's not clear, sparse files don't "reserve" their space. Try this: > for i in {000..999}; do dd if=/dev/zero of=/tmp/sparse-$i bs=1024 count=
by sdflhasjd 6y ago
> Edit: In case it's not clear, sparse files don't "reserve" their space. Try this:
> for i in {000..999}; do dd if=/dev/zero of=/tmp/sparse-$i bs=1024 count=0 seek=104857600; done
On an APFS volume with 18GB of free space, that bombed out with "No space left on device"
- oefrha 6y agoI have no trouble creating a 1TiB file this way on a 512GB max volume. Trying to create a 2TiB file this way does error out. MacBookPro11,5, macOS 10.15.5.