In Ext 3/4 filesystem, if I have a log file open and being appended to, if another process tries to read it (e.g. with
cat), what happens?
- Can the reading process read part of / an incomplete write?
- Is reading-during-writing safe and won't disrupt the writing process? Or is there a chance the logs can be corrupted by doing this?
Where should one read more?