Re: hugetlbfs not working

Avi Kivity
2008-03-27T16:09:56Z

Anthony Liguori wrote:
>
> If you don't bail when ftruncate fails, does it work as expected for
> you? Perhaps older versions of hugetlbfs didn't support truncate.

If you don't truncate, how can you change the file size? hugetlbfs
doesn't support write().

I vaugely recall using ftruncate() on 2.4.

--
error compiling committee.c: too many arguments to function