Path: utzoo!attcan!uunet!dalsqnt!rpp386!ditka!cocktrice!mdm From: mdm@cocktrice.UUCP (Mike Mitchell) Newsgroups: comp.unix.microport Subject: Re: Sync frequency Message-ID: <342@cocktrice.UUCP> Date: 16 Nov 88 02:02:59 GMT References: <408@dalek.UUCP> Reply-To: mdm@cocktrice.UUCP (0000-Mike Mitchell) Organization: Mike's Playground, Santa Fe, New Mexico Lines: 26 In article <408@dalek.UUCP> sjb@dalek.UUCP (Seth J. Bradley) writes: >I would like to increase the "hardness" of my >file system by increasing the frequency of syncs. >Does anyone know how to do this? >Thanks in advance! Edit your /etc/inittab to include the following line: u0:234:once:/etc/update > /dev/console 2&>1 Compile the following and place the resulting file in /etc/update: main() { while (1) { sync(); sleep(30); } } And you are all set... -- Mike Mitchell BELL: (505) 471-7639 2020 Calle Lorca #43 ARPA: mdm@cocktrice.UUCP Santa Fe, NM 87505 UUCP: ...!uunet!dmk3b1!cocktrice!mdm