File I/O : sync, async and direct??

From: Sean (seanatpurdue_at_hotmail.com)
Date: 05/30/05

  • Next message: phil-news-nospam_at_ipal.net: "Re: Urgent Requirement for Linux Developers!"
    Date: Mon, 30 May 2005 16:59:09 -0500
    
    

    What's the default option in an option, such as open("/tmp/mytest", O_RDWR)?

    what is the difference of o_sync and o_async for the block device? It
    seems there is no difference for block device such as disk(at least for
    a write, I guess), isn't it? --coz the data will be buffered in the
    kernel anyway.

    Can someone explain it? thanks.


  • Next message: phil-news-nospam_at_ipal.net: "Re: Urgent Requirement for Linux Developers!"