3 Feb 2006 19:08
Re: SEEK_HOLE and SEEK_DATA
Chris Wedgwood <cw <at> f00f.org>
2006-02-03 18:08:21 GMT
2006-02-03 18:08:21 GMT
On Thu, Feb 02, 2006 at 04:03:49AM -0500, linux <at> horizon.com wrote: > Solaris 10 has added a moderately useful new feature... lseek now > supports whence = 3 (SEEK_DATA) and 4 (SEEK_HOLE). What these do is > advance the file pointer to the start of the next run of the > appropriate kind past the given (absolute) offset. Some filesystems in linux (XFS for one, probably others?) already have a mechanism (albeit more complex the way it's exposed) to find holes & data. - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed