support infinity size file

modify hdd and corresponding code