pos inode fffffffffffffffftffffffffffffffffn
# File lib/fluent/plugin/in_tail.rb, line 793 def initialize(file, seek) @file = file @seek = seek end
# File lib/fluent/plugin/in_tail.rb, line 808 def read_inode @file.pos = @seek + INO_OFFSET raw = @file.read(16) raw ? raw.to_i(16) : 0 end
# File lib/fluent/plugin/in_tail.rb, line 814 def read_pos @file.pos = @seek raw = @file.read(16) raw ? raw.to_i(16) : 0 end
# File lib/fluent/plugin/in_tail.rb, line 798 def update(ino, pos) @file.pos = @seek @file.write "%016x\t%016x" % [pos, ino] end
# File lib/fluent/plugin/in_tail.rb, line 803 def update_pos(pos) @file.pos = @seek @file.write "%016x" % pos end