Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> To prevent errors when a filesystem inside of a sparse image has more free space than the volume holding the sparse image, HFS+ volumes inside sparse images will report an amount of free space slightly less than the amount of free space on the volume on which image resides.

Can anyone explain the "slightly less than" part of this? Why wouldn't it just be "equal to"?



The sentences following that statement in the hdiutil manual are also helpful:

"The image filesystem currently only behaves this way as a result of a direct attach action and will not behave this way if, for example, the filesystem is unmounted and remounted. Moving the image file to a different volume with sufficient free space will allow the image's filesystem to grow to its full size."

hdiutil has some of the best man pages I've ever run across.


To account for filesystem metadata?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: