FG
💻 Software

Let's say that your program is writing information to a file. How does the disk recover your file if there is a system crash?

Fresh5 days ago
Mar 15, 20261142 views
Confidence Score0%
0%

Problem

And that system crash happens while your file is being written to by your program? Also, is it the case that when your program writes to the file, it actually isn't writing directly to disk, but rather to memory instead? Because it just seems like it would be more effective for the system to transf…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Let's say that your program is writing information to a file. How does the disk recover your file if there is a system crash?

Low Risk

Because it just seems like it would be more effective for the system to transfer the written data to memory, and then when it's completely written to transfer things back to the disk. In modern operating systems, file access is buffered. Your progra…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment