From: Robert Klemme Date: 2009-11-19T21:49:33+09:00 Subject: Re: open a binary file-read bit-change bit-update same file 2009/11/19 Dalthon [BR] : > You can synchronize io setting file.sync = true to update on the same > file object That does only change the point in time _when_ the change in the file can be observed by other processes but it does not affect _where_ the changes are written. For that (i.e. writing to the same file) you need File.open(name, "r+") anyway. If you use that option and do "bitwise" updates (actually only bytewise is possible) efficiency will drop even more dramatically. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/