mv() while reading

Posted by K' on Stack Overflow See other posts from Stack Overflow or by K'
Published on 2010-05-14T19:47:14Z Indexed on 2010/05/14 20:14 UTC
Read the original article Hit count: 263

Filed under:
|
|
|
|

on Linux ext3 filesystem, what happens if mv() is called on the same file (file descriptor) while reading the file? It is actually an exam question and I can only say something like:

  1. CPU traps OS for interrupt handling
  2. etc, etc.

I would appreciate if OS guys out there can help me out, please :D

© Stack Overflow or respective owner

Related posts about interrupt

Related posts about trap