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 - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -