Date: Fri, 13 Nov 2015 11:01:00 -0800 From: Matthew Ahrens <matt@mahrens.org> To: Garrett Cooper <yaneurabeya@gmail.com> Cc: John Baldwin <jhb@freebsd.org>, =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r290743 - head/etc/periodic/daily Message-ID: <CAKUb7itzkqVRFoYtb2T109zq0HqBHo69F=AtpL_tJhqLDMbKwg@mail.gmail.com> In-Reply-To: <9AA60CC0-E790-4946-B9D9-09C6F5B7E638@gmail.com> References: <201511130620.tAD6KRR3053808@repo.freebsd.org> <2515730.7DRR4ZNBdk@ralph.baldwin.cx> <9AA60CC0-E790-4946-B9D9-09C6F5B7E638@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 13, 2015 at 10:57 AM, Garrett Cooper <yaneurabeya@gmail.com> wrote: > > > On Nov 13, 2015, at 10:38, John Baldwin <jhb@freebsd.org> wrote: > > > >> On Friday, November 13, 2015 06:20:27 AM Dag-Erling Sm=C3=B8rgrav wrot= e: > >> Author: des > >> Date: Fri Nov 13 06:20:27 2015 > >> New Revision: 290743 > >> URL: https://svnweb.freebsd.org/changeset/base/290743 > >> > >> Log: > >> Allow admins to specify a regex which is applied (in the negative) to > the > >> output from df, similar to what security/200.chkmounts does. This ca= n > be > >> useful to avoid listing automounted ZFS snapshots, for instance. > > > > I almost want a variant of -l that would exclude all synthetic > filesystems > > (procfs, devfs, etc.) as well as nullfs. I think there isn't an easy w= ay > > for it to auto-detect ZFS snapshots though. > > Are you referring to file systems mounted from cloned snapshots? > I would guess John is talking about <mountpoint>/.zfs/snapshot/<snapname>, which is typically is not listed by "df" on other platforms. --matt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKUb7itzkqVRFoYtb2T109zq0HqBHo69F=AtpL_tJhqLDMbKwg>