Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"I've been told to type sync into terminal whenever I want writes to complete."

If you'd really like a guarantee, you can always unmount the filesystem, or alternatively, mount it read-only:

mount -ur /mnt/blah

That will guarantee, at least at the filesystem/OS level, that the writes are committed.



My understanding that, after that point, the hardware drivers could lie and say they've written it and we'd never know, correct?

And even after that, the hardware could return a "written OK" value but not actually do the job, right?

So the point is that without complete transparency from end-to-end, there's no way to tell.

Is that correct?


Yes, and there's also the problem that magnetization of material isn't permanent so your data may disappear after N days even if it were written correctly (typically, N > 5000). Should your "complete transparency" model also include expected longevity of the written bits?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: