Issue #8671 has been updated by naruse (Yui NARUSE).

Description updated
Status changed from Open to Assigned
Assignee set to matz (Yukihiro Matsumoto)
Target version changed from next minor to current: 2.1.0

It sounds good.
matz, how do you think?
----------------------------------------
Feature #8671: support SEEK_DATA and SEEK_HOLE
https://bugs.ruby-lang.org/issues/8671#change-40641

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/