git: fe9e9dca8bad - stable/15 - growfs_postboot: Invoke via service(8)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Sep 2026 22:50:25 UTC
The branch stable/15 has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=fe9e9dca8bad6218975b7aa686d7db1a0e497077
commit fe9e9dca8bad6218975b7aa686d7db1a0e497077
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-08-24 15:01:20 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-09-15 22:49:42 +0000
growfs_postboot: Invoke via service(8)
Use service(8) rather than invoking /etc/rc.d/growfs_postboot directly.
Requested by: bapt
Reviewed by: bapt
MFC after: 2 weeks
Fixes: 5a31987d4c39 ("rc+devd: Add growfs_postboot")
Differential Revision: https://reviews.freebsd.org/D59145
(cherry picked from commit 475a56a8766ce29af53b99c47c145c7348165e6b)
---
sbin/devd/growfs_postboot.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/devd/growfs_postboot.conf b/sbin/devd/growfs_postboot.conf
index 0c6b817755ec..4c23f3d41e55 100644
--- a/sbin/devd/growfs_postboot.conf
+++ b/sbin/devd/growfs_postboot.conf
@@ -4,5 +4,5 @@ notify 200 {
match "system" "GEOM";
match "subsystem" "DEV";
match "type" "SIZECHANGE";
- action "lockf -k /var/run/growfs_postboot.lock /etc/rc.d/growfs_postboot quietstart $cdev 2>&1 | logger -t growfs_postboot &";
+ action "lockf -k /var/run/growfs_postboot.lock service growfs_postboot quietstart $cdev 2>&1 | logger -t growfs_postboot &";
};