Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2012 11:20:42 +0300
From:      Daniel Kalchev <daniel@digsys.bg>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Make filesystem type configurable for periodic(8)?
Message-ID:  <995A1779-9983-4AB9-8618-9227C1B491E5@digsys.bg>
In-Reply-To: <CAOjFWZ4VxyMLSzzWsUMj21HccZkzwPUtM5PWAS-oaaocCLN8Dw@mail.gmail.com>
References:  <CAOjFWZ4VxyMLSzzWsUMj21HccZkzwPUtM5PWAS-oaaocCLN8Dw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?995A1779-9983-4AB9-8618-9227C1B491E5>