git: 475a56a8766c - main - growfs_postboot: Invoke via service(8)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Aug 2026 15:11:38 UTC
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=475a56a8766ce29af53b99c47c145c7348165e6b
commit 475a56a8766ce29af53b99c47c145c7348165e6b
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-08-24 15:01:20 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-08-24 15:11:24 +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
---
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 &";
};