Not sure why you're downvoted.
Operating systems often cache disk writes and flush them to underlying devices once in a while. Dismounting (or "ejecting" in Windows terms) forces the writes to be flushed.
See man 2 fsync.
Not sure why you're downvoted.
Operating systems often cache disk writes and flush them to underlying devices once in a while. Dismounting (or "ejecting" in Windows terms) forces the writes to be flushed.
See man 2 fsync.