On Thu, 25 May 2000, peter swain wrote:
> i don't recall *which* unix provides this functionality (solaris? irix?
> but it's out there -- someone has spliced it in as a fcntl().
> fcntl(fd, FCNTL_DEALLOC_or_something, struct flock*);
> uses a flock-style byte range specifier to punch a hole in the file.
> It's cute.
A Solaris box here has such an fcntl: F_FREESP is the option, and it
takes a struct flock that specifies the region (aren't Solaris manpages
online?). Might be worth investigating for 2.5.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:15 EST