Bug 162890

Summary: periodic.conf: daily_scrub_zfs_default_threshold: defaults to 35 in script, is mentioned to have default 30 in doc
Product: Documentation Reporter: O. Hartmann <ohartman>
Component: Books & ArticlesAssignee: Glen Barber <gjb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
periodic.conf.5.diff none

Description O. Hartmann 2011-11-26 06:50:09 UTC
Script config file /etc/defaults/periodic.conf has for daily_scrub_zfs_default_threshold a value of 35. The manpage for periodic.conf mentions 30 as the default value.

How-To-Repeat: compare /etc/defaults/periodic.conf and those values mentioned to be default as given by the manpage periodic.conf.
Comment 1 Niclas Zeising 2011-11-26 08:34:49 UTC
Here is a patch for that change.
Regards!
-- 
Niclas
Comment 2 Glen Barber freebsd_committer freebsd_triage 2011-12-08 23:48:56 UTC
Responsible Changed
From-To: freebsd-doc->gjb

Make this mine.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-12-08 23:58:36 UTC
Author: gjb (doc committer)
Date: Thu Dec  8 23:58:26 2011
New Revision: 228355
URL: http://svn.freebsd.org/changeset/base/228355

Log:
  As of r226865, daily_scrub_zfs_default_threshold is 35 days; document
  accordingly.
  
  PR:		162890
  Submitted by:	Oliver Hartmann (ohartman ! mail.zedat.fu-berlin.de)
  Patch by:	Niclas Zeising (niclas.zeising ! gmail.com)
  MFC after:	1 week
  X-Need-MFC:	r226865

Modified:
  head/share/man/man5/periodic.conf.5

Modified: head/share/man/man5/periodic.conf.5
==============================================================================
--- head/share/man/man5/periodic.conf.5	Thu Dec  8 22:33:37 2011	(r228354)
+++ head/share/man/man5/periodic.conf.5	Thu Dec  8 23:58:26 2011	(r228355)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 15, 2010
+.Dd December 8, 2011
 .Dt PERIODIC.CONF 5
 .Os
 .Sh NAME
@@ -631,7 +631,7 @@ If the list is empty or not set, all zfs
 .It Va daily_scrub_zfs_default_threshold
 .Pq Vt int
 Number of days between a scrub if no pool-specific threshold is set.
-The default value if no value is set is 30.
+If not set, the default value is 35, corresponding to 5 weeks.
 .It Va daily_scrub_zfs_ Ns Ao Ar poolname Ac Ns Va _threshold
 .Pq Vt int
 The same as
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 4 Glen Barber freebsd_committer freebsd_triage 2011-12-08 23:59:30 UTC
State Changed
From-To: open->patched

Patched in head (r228355) pending MFC.
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-01-07 02:03:27 UTC
Author: gjb (doc committer)
Date: Sat Jan  7 02:03:07 2012
New Revision: 229757
URL: http://svn.freebsd.org/changeset/base/229757

Log:
  MFC r228355:
  
  - As of r226865, daily_scrub_zfs_default_threshold is 35 days.
  
  PR:		162890

Modified:
  stable/9/share/man/man5/periodic.conf.5
Directory Properties:
  stable/9/share/man/man5/   (props changed)

Modified: stable/9/share/man/man5/periodic.conf.5
==============================================================================
--- stable/9/share/man/man5/periodic.conf.5	Sat Jan  7 01:39:38 2012	(r229756)
+++ stable/9/share/man/man5/periodic.conf.5	Sat Jan  7 02:03:07 2012	(r229757)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 15, 2010
+.Dd December 8, 2011
 .Dt PERIODIC.CONF 5
 .Os
 .Sh NAME
@@ -631,7 +631,7 @@ If the list is empty or not set, all zfs
 .It Va daily_scrub_zfs_default_threshold
 .Pq Vt int
 Number of days between a scrub if no pool-specific threshold is set.
-The default value if no value is set is 30.
+If not set, the default value is 35, corresponding to 5 weeks.
 .It Va daily_scrub_zfs_ Ns Ao Ar poolname Ac Ns Va _threshold
 .Pq Vt int
 The same as
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-01-07 02:03:50 UTC
Author: gjb (doc committer)
Date: Sat Jan  7 02:03:42 2012
New Revision: 229758
URL: http://svn.freebsd.org/changeset/base/229758

Log:
  MFC r228355:
  
  - As of r226865, daily_scrub_zfs_default_threshold is 35 days.
  
  PR:		162890

Modified:
  stable/8/share/man/man5/periodic.conf.5
Directory Properties:
  stable/8/share/man/man5/   (props changed)

Modified: stable/8/share/man/man5/periodic.conf.5
==============================================================================
--- stable/8/share/man/man5/periodic.conf.5	Sat Jan  7 02:03:07 2012	(r229757)
+++ stable/8/share/man/man5/periodic.conf.5	Sat Jan  7 02:03:42 2012	(r229758)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 15, 2010
+.Dd December 8, 2011
 .Dt PERIODIC.CONF 5
 .Os
 .Sh NAME
@@ -631,7 +631,7 @@ If the list is empty or not set, all zfs
 .It Va daily_scrub_zfs_default_threshold
 .Pq Vt int
 Number of days between a scrub if no pool-specific threshold is set.
-The default value if no value is set is 30.
+If not set, the default value is 35, corresponding to 5 weeks.
 .It Va daily_scrub_zfs_ Ns Ao Ar poolname Ac Ns Va _threshold
 .Pq Vt int
 The same as
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 7 Glen Barber freebsd_committer freebsd_triage 2012-01-07 02:05:25 UTC
State Changed
From-To: patched->closed

MFCd to stable/9 and stable/8.