linux - File Descriptor buffering

07
2014-07
  • arbitter

    I have a question regarding the buffering of a file descriptor.

    I'm wondering whether a file descriptor can buffer in user mode. I know it can buffer in kernel mode, since a file descriptor is a low-level handler in the Kernel. But for the user mode I'm quite unclear.

    Also, if it is possible, is it useful to buffer on both levels?

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    linux - How many file descriptors accessing a given file?
  • pythonic metaphor

    On linux, is there a way to count the number of file descriptors open to a some file?


  • Related Answers
  • Michael Pryor

    The lsof command will tell you all the open files and what program has them open.

    lsof filename

  • Marnix A. van Ammers

    Also:

    fuser -v filename