[KLUG Members] Disk partition

Adam Williams members@kalamazoolinux.org
30 Dec 2001 22:19:21 -0500


>>>Disable fsync in syslog (perfectly safe to do on a desktop machine)
>>>if you want your system to spent less time diddling about in /var.
>>Ohhh, good suggestion.
>What's an example of the syntax on that?
>The man page says:
>    You  may  prefix  each  entry with the minus ``-'' sign
>    to omit syncing the file after every logging. ....
>But I'm not sure what they mean by "each entry".
>   Where exactly do you put the minus sign?
>   At the beginning of the line?
>   Right before the filename (w/space?)?
>   ...???

*.info;mail.none;authpriv.*				-/var/log/messages

You can disable fsync() on some logs and not others,  not fsync()ing
debug logs makes them not murder system performance like they normally
do,  but you may want to leave things like /var/log/secure that are
theoretically important and receive relatively little activity in
fsync() enabled mode.