FreeBSD Bugzilla – Attachment 170174 Details for
Bug 209415
[bsdinstall] zfsboot: Do not mirror swap when swapsize is 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch against -CURRENT r299327
patch-gmirror-swap-r299327.txt (text/plain), 471 bytes, created by
Ganael LAPLANCHE
on 2016-05-10 10:10:14 UTC
(
hide
)
Description:
Patch against -CURRENT r299327
Filename:
MIME Type:
Creator:
Ganael LAPLANCHE
Created:
2016-05-10 10:10:14 UTC
Size:
471 bytes
patch
obsolete
>Index: usr.sbin/bsdinstall/scripts/zfsboot >=================================================================== >--- usr.sbin/bsdinstall/scripts/zfsboot (revision 299327) >+++ usr.sbin/bsdinstall/scripts/zfsboot (working copy) >@@ -1233,7 +1233,7 @@ > # > # Create the gmirror(8) GEOMS for swap > # >- if [ "$ZFSBOOT_SWAP_MIRROR" ]; then >+ if [ ${swapsize:-0} -gt 0 -a "$ZFSBOOT_SWAP_MIRROR" ]; then > for disk in $disks; do > swap_devs="$swap_devs $disk$swappart" > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 209415
: 170174