Talk:FAQ

From btrfs Wiki
Revision as of 02:17, 14 January 2011 by Flickmontana (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In the "What are the crash guarantees of rename?" section, what if we sync the file to the disk before renaming?

echo "content" > file.tmp

# make sure content is on disk
sync

mv file.tmp file

# *crash*

--Flickmontana 02:17, 14 January 2011 (UTC)

Personal tools