Date: Thu, 01 Jan 2026 08:40:08 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 292074] periodic daily 801.trim-zfs uses wrong variable name: daily_zfs_trim_flags instead of daily_trim_zfs_flags Message-ID: <bug-292074-227-l6qQe4mqVs@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-292074-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292074 --- Comment #1 from CrazyMihey <CrazyMihey@Ya.Ru> --- Sorry, the Corrected «Hot-Fixed» Code for «/etc/periodic.conf», «/etc/periodic.conf.local», «/usr/local/etc/periodic.conf» WithOut Extra-Quotes looks like: if kldstat -q -m "zfs" 2>"/dev/null" && zpool status -P -t | egrep "[/][Dd][Ee][Vv][/]" | egrep --invert-match --quiet "[(][[:space:]]*[Tt][Rr][Ii][Mm][[:space:]]+[Uu][Nn][Ss][Uu][Pp][Pp][Oo][Rr][Tt][Ee][Dd][[:space:]]*[)]" then # The System contains Devices that SupPort Trim Operations. daily_trim_zfs_enable="Yes" daily_trim_zfs_flags="${daily_trim_zfs_flags%[[:space:]]}${daily_trim_zfs_flags:+" "}--rate $(( 20 << 20 ))" # Maximum Trim Rate 20 MB/S. ReasonAble Performance Penalty for Most HDDs & SSDs. daily_zfs_trim_flags="${daily_zfs_trim_flags%[[:space:]]}${daily_zfs_trim_flags:+" "}--rate $(( 20 << 20 ))" # Due to the Error in «/etc/periodic/daily/801.trim-zfs»… fi -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292074-227-l6qQe4mqVs>
