Page MenuHomeFreeBSD

D42449.id129666.diff
No OneTemporary

D42449.id129666.diff

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

Mime Type
text/plain
Expires
Sun, Apr 19, 9:53 PM (13 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31801738
Default Alt Text
D42449.id129666.diff (588 B)

Event Timeline