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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

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

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -