linux - What exactly does the system call sync do? -


i running someone's bash script uses sync command. understand sync write out buffered i/o filesystem before returning. on hpc system many users, sync seems take forever.

if user runs this, sync wait filesystem writes users? happens if new data queued writing out filesystem while sync executing? sync wait these new writes finish?


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -