conf/108611: An obsolete nice(1) syntax is left
in etc/periodic/weekly/310.locate.
TAOKA Fumiyoshi
fmysh at iijmio-mail.jp
Thu Feb 1 15:50:32 UTC 2007
The following reply was made to PR conf/108611; it has been noted by GNATS.
From: TAOKA Fumiyoshi <fmysh at iijmio-mail.jp>
To: remko at FreeBSD.org
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: conf/108611: An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate.
Date: Fri, 2 Feb 2007 00:14:51 +0900
Thank you for pointing out.
I misused the term.
On 2007/02/01, at 3:02, Remko Lodder wrote:
> TAOKA Fumiyoshi wrote:
>> An obsolete nice(1) syntax is left in etc/periodic/weekly/
>> 310.locate.
>>> How-To-Repeat:
>>> Fix:
>> Index: 310.locate
>> ===================================================================
>> RCS file: /home/ncvs/src/etc/periodic/weekly/310.locate,v
>> retrieving revision 1.6
>> diff -u -r1.6 310.locate
>> --- 310.locate 14 Sep 2000 17:19:13 -0000 1.6
>> +++ 310.locate 31 Jan 2007 16:04:30 -0000
>> @@ -23,7 +23,7 @@
>> chmod 644 $locdb || rc=3
>> cd /
>> - echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3
>> + echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3
>> chmod 444 $locdb || rc=3;;
>> *) rc=0;;
>
> It is depricated, not obsolete:
>
> COMPATIBILITY
> The traditional -increment option has been deprecated but is
> still sup-
> ported.
>
> (nice -5 still works)
>
> --
> Kind regards,
>
> Remko Lodder ** remko at elvandar.org
> FreeBSD ** remko at FreeBSD.org
>
> /* Quis custodiet ipsos custodes */
>
More information about the freebsd-bugs
mailing list