[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Rebasing on Padraig's gnulib fallocate module and cleaning u
From: |
Matej Cepl |
Subject: |
Re: [PATCH] Rebasing on Padraig's gnulib fallocate module and cleaning up |
Date: |
Mon, 15 Jun 2009 09:45:04 +0000 (UTC) |
User-agent: |
Pan/0.133 (House of Butterflies) |
Pádraig Brady, Sat, 13 Jun 2009 01:19:36 +0100:
> I was thinking that truncate --allocate would call posix_fallocate()
> which guarantees that the file is allocated even if the filesystem does
> not support fallocate(). I.E. we would need to add a posix_fallocate()
> gnulib module that adds the function if not available, and does what
> glibc does if fallocate() returns ENOSYS (write zeros).
Could I hope in arrival of that anytime soon, or should I try to get
myself wet with blood of gnulib and make the patch myself?
Matěj