From: "kosaki (Motohiro KOSAKI)" Date: 2013-07-26T01:03:39+09:00 Subject: [ruby-core:56171] [ruby-trunk - Feature #8671] support SEEK_DATA and SEEK_HOLE Issue #8671 has been updated by kosaki (Motohiro KOSAKI). The patch looks good to me. ---------------------------------------- Feature #8671: support SEEK_DATA and SEEK_HOLE https://bugs.ruby-lang.org/issues/8671#change-40665 Author: Glass_saga (Masaki Matsushita) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: current: 2.1.0 SEEK_DATA and SEEK_HOLE are whences for lseek(2) supported by Linux since version 3.1. These are useful to deal with sparse files. I propose that ruby supports these whences. * http://d.hatena.ne.jp/meech/20110721/1311244529 * http://www.nminoru.jp/~nminoru/programming/sparse_file.html -- http://bugs.ruby-lang.org/