From owner-freebsd-stable@FreeBSD.ORG Sun May 6 08:20:53 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A00201065686 for ; Sun, 6 May 2012 08:20:53 +0000 (UTC) (envelope-from daniel@digsys.bg) Received: from smtp-sofia.digsys.bg (smtp-sofia.digsys.bg [193.68.3.230]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5158FC1B for ; Sun, 6 May 2012 08:20:52 +0000 (UTC) Received: from digsys226-136.pip.digsys.bg (digsys226-136.pip.digsys.bg [193.68.136.226]) (authenticated bits=0) by smtp-sofia.digsys.bg (8.14.5/8.14.5) with ESMTP id q468Kg9D071960 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 6 May 2012 11:20:43 +0300 (EEST) (envelope-from daniel@digsys.bg) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1251 From: Daniel Kalchev In-Reply-To: Date: Sun, 6 May 2012 11:20:42 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <995A1779-9983-4AB9-8618-9227C1B491E5@digsys.bg> References: To: Freddie Cash X-Mailer: Apple Mail (2.1257) Cc: FreeBSD Stable Subject: Re: Make filesystem type configurable for periodic(8)? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2012 08:20:53 -0000 On May 4, 2012, at 7:05 PM, Freddie Cash wrote: > A few of the periodic(8) scripts in FreeBSD have constructs similar to > the following to get which filesystems to scan for various things: > MP=3D`mount -t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'` >=20 > For systems with large ZFS pools, and many ZFS filesystems, these > periodic scripts can grind it to its knees, and then some. For > backups servers where we don't really care about the > ownership/permissions of files from the FreeBSD perspective, we really > don't want the ZFS filesytems to be scanned;=20 [=85] The script already accommodates this scenario. Just mount your storage = filesystems with 'nosuidexec' and they won't be scanned.=20 Daniel=