Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[io_channel_flush]strange thing!

Help
2006-06-13
2012-11-28
  • Ching-Hung Lin
    Ching-Hung Lin
    2006-06-13

    Hello!

    Recently, I am tring to write a program by using library of ext2.
    And there is a strange thing.
    I can using io_channel_write_blk to write data in desired block.
    I also can read the changed data by io_channel_read_blk.
    But I can't view the changed data by editor( vi and gedit) without reboot.
    Before ending of my program, I had called io_channel_flush(fs->io).
    What should I do to make the changed data can viewed by editor without reboot?

    Thanks for any commment!

    Ching-Hung Lin