Path: utzoo!attcan!uunet!fernwood!apple!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!ericom!juno11.ericsson.se!etxtorn From: etxtorn@juno11.ericsson.se (Thomas Tornblom TM/JU 99367) Newsgroups: comp.unix.questions Subject: Re: sync(2) versus sync(8) Message-ID: <1990Jul3.081306.1934@ericsson.se> Date: 3 Jul 90 08:13:06 GMT References: <13278@ulysses.att.com> Sender: news@ericsson.se Organization: Ericsson Telecom AB, Stockholm, Sweden Lines: 22 In article <13278@ulysses.att.com> swfc@ulysses.att.com (Shu-Wie F Chen) writes: >According to the man page for fsync(2) on a Sun-4: > >...some description about fsync... > >Note: this is different than sync(8) which schedules disk I/O for all >files (as though an fsync() had been done on all files) but returns >before the I/O completes. > >... > >However, I can't find sync in section 8 of the man pages. What does it >actually do? How does it differ from sync(2) which writes out all >information in core memory that should be on disk. > >Thanks, >*swfc You'll find it in section (1) of the manual. And no, it doesn't differ, it is merely sync(2) packaged into a program. Thomas.