Sync frequency

Mike Mitchell mdm at cocktrice.UUCP
Wed Nov 16 12:02:59 AEST 1988


In article <408 at dalek.UUCP> sjb at 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 at cocktrice.UUCP
Santa Fe, NM 87505			UUCP:	...!uunet!dmk3b1!cocktrice!mdm



More information about the Comp.unix.microport mailing list