Page MenuHomeFreeBSD

D3063.id6930.diff
No OneTemporary

D3063.id6930.diff

Index: head/usr.sbin/bsdinstall/scripts/zfsboot
===================================================================
--- head/usr.sbin/bsdinstall/scripts/zfsboot
+++ head/usr.sbin/bsdinstall/scripts/zfsboot
@@ -1,6 +1,6 @@
#!/bin/sh
#-
-# Copyright (c) 2013-2014 Allan Jude
+# Copyright (c) 2013-2015 Allan Jude
# Copyright (c) 2013-2015 Devin Teske
# All rights reserved.
#
@@ -1237,6 +1237,15 @@
return $FAILURE
done
+ #
+ # Set a mountpoint for the root of the pool so newly created datasets
+ # have a mountpoint to inherit
+ #
+ f_dprintf "$funcname: Setting mountpoint for root of the pool..."
+ f_eval_catch $funcname zfs "$ZFS_SET" \
+ "mountpoint=/$zroot_name" "$zroot_name" ||
+ return $FAILURE
+
# Touch up permissions on the tmp directories
f_dprintf "$funcname: Modifying directory permissions..."
local dir

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 8, 7:04 PM (15 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28486280
Default Alt Text
D3063.id6930.diff (853 B)

Event Timeline