Skip to content

RU · in the original language

«Сохранено» — это обещание. Я проверил двенадцать способов его дать, десять не держат

Photo: Хабр

fsync(fd) доводит до носителя содержимое файла. А rename() меняет каталог, и эта запись остаётся в page cache ровно как любая несохранённая страница. Чтобы переименование пережило отключение питания,…

Хабр Russia · 15 October 2026

This is an extract. The full article is on Хабр.

Read at the source

Full text, translation and AI summary — after signing in

  • The full article in your language
  • AI summary and translation from the original
  • The same account works in the Suviy app

Free.

Comments

Sign in to join the conversation. Sign in

No comments yet.