On Tue, Jul 16, 2024 at 09:46:29AM -0700, Darrick J. Wong wrote: > Hm, xfs could do that, but that would clutter up the mount options. > Or perhaps the systemd service could look for $mountpoint/.autoheal or > something. > > It might be easier still to split the packages, let me send an RFC of > what that looks like. So I think the package split makes sense no matter what we do, but I really want a per file system choice and not a global one. As a fіle system developer I always have scratch file systems around that I definitely never want checked. I'd also prefer scrub to not randomly start checking external file system that are only temporarily mounted and that I want to remove again. Maybe we'll indeed want some kind of marker in the file system. Btw, the code in scrub_all that parses lsblk output to find file systems also looks a bit odd. I'd expect it to use whatever is the python equivalent of setmntent/getmntent on /proc/self/mounts.