Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156486500
D29748.id88114.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
794 B
Referenced Files
None
Subscribers
None
D29748.id88114.diff
View Options
diff --git a/libexec/rc/rc.d/growfs b/libexec/rc/rc.d/growfs
--- a/libexec/rc/rc.d/growfs
+++ b/libexec/rc/rc.d/growfs
@@ -28,15 +28,17 @@
#
# PROVIDE: growfs
-# BEFORE: sysctl
+# REQUIRE: fsck
+# BEFORE: root
# KEYWORD: firstboot
# This allows us to distribute an image
# and have it work on essentially any size drive.
-#
-# TODO: Figure out where this should really be ordered.
-# I suspect it should go just after fsck but before mountcritlocal.
-#
+
+# Note that this uses awk(1), and thus will not work if /usr is on a separate
+# filesystem. We need to run early, because there might be not enough free
+# space on rootfs for the boot to succeed, and on images we ship - which are
+# the primary purpose of this script - there is no separate /usr anyway.
. /etc/rc.subr
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 15, 12:46 AM (16 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33068544
Default Alt Text
D29748.id88114.diff (794 B)
Attached To
Mode
D29748: rc: fix dependencies for growfs
Attached
Detach File
Event Timeline
Log In to Comment