Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133854874
D42449.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
588 B
Referenced Files
None
Subscribers
None
D42449.diff
View Options
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -895,6 +895,12 @@
if [ "$BASEDIR" != "/" ]; then
return 1
fi
+ # If ZFS is not available and we are operating on /, we know ZFS is not
+ # involved. Invoking bectl will load the ZFS module which we really
+ # shouldn't do spuriously.
+ if [ ! -c "/dev/zfs" ]; then
+ return 1
+ fi
# Create a boot environment if enabled
if [ ${BOOTENV} = yes ]; then
bectl check 2>/dev/null
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 29, 11:38 PM (2 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24426777
Default Alt Text
D42449.diff (588 B)
Attached To
Mode
D42449: Check to see if ZFS is available before invoking bectl
Attached
Detach File
Event Timeline
Log In to Comment