preallocate files without (posix_)fallocate or fcntl's F_PREALLOCATE?

2008-11-05 Thread Jeremy Messenger
Hello folks, At first, I don't really know C that well so... It's more of request or suggest if anyone is bored or interest to port on FreeBSD. :-) Recently, Transmission has added preallocate files to prevent disk fragmentation but FreeBSD does not has any of (posix_)fallocate or fcntl's

Re: preallocate files without (posix_)fallocate or fcntl's F_PREALLOCATE?

2008-11-05 Thread Ed Schouten
Hello, Not entirely related to this topic, but looking at the standards, it seems we don't implement posix_fadvise() either. It seems we could implement this as a no-op for now. It has no real advantage if we do, but say, one day we gain real posix_fadvise() support, we already have a bunch of

Re: preallocate files without (posix_)fallocate or fcntl's F_PREALLOCATE?

2008-11-05 Thread John Baldwin
On Wednesday 05 November 2008 12:08:11 pm Jeremy Messenger wrote: Hello folks, At first, I don't really know C that well so... It's more of request or suggest if anyone is bored or interest to port on FreeBSD. :-) Recently, Transmission has added preallocate files to prevent disk