Devin Teske
47206692f2
Fix syntax error thrown at the point of creating the root pool, caused by
...
an embedded newline appearing within the options string surrounded by
double-quotes. Rework the logic that goes into setting dataset options on
the root pool dataset while we're here -- added two new variables (which
can be altered via scripting) ZFSBOOT_POOL_CREATE_OPTIONS and also
ZFSBOOT_BOOT_POOL_CREATE_OPTIONS for setting pool/dataset attributes at
the time of pool creation. The former is for setting options on the root
pool (zroot) and the latter is for setting options on the optional separate
boot pool (bootpool) implicitly enabled when using either GELI or MBR. The
default value for the root pool variable (ZFSBOOT_POOL_CREATE_OPTIONS) is
"-O compress=lz4 -O atime=off" and the default value for separate boot pool
variable (ZFSBOOT_BOOT_POOL_CREATE_OPTIONS) is NULL (no additional options
for the separate boot pool dataset).
Reviewed by: allanjude
MFC after: 7 days
X-MFC-with: r266107-266109
2014-05-22 19:36:29 +00:00
..
2013-03-17 06:54:04 +00:00
2010-10-19 21:32:13 +00:00
2013-11-22 18:53:54 +00:00
2012-09-15 16:24:03 +00:00
2014-05-06 04:22:01 +00:00
2012-07-08 00:52:54 +00:00
2011-11-06 19:01:30 +00:00
2013-05-03 23:51:32 +00:00
2014-04-05 22:13:32 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2013-04-19 19:45:00 +00:00
2010-10-19 21:32:13 +00:00
2013-07-10 07:40:30 +00:00
2014-05-15 14:16:55 +00:00
2014-04-28 22:06:40 +00:00
2014-02-22 07:18:06 +00:00
2014-04-10 10:18:30 +00:00
2014-02-08 13:37:02 +00:00
2013-10-01 18:41:53 +00:00
2013-08-07 00:00:48 +00:00
2014-05-06 04:22:01 +00:00
2014-05-17 04:29:14 +00:00
2014-05-22 19:36:29 +00:00
2014-05-06 04:22:01 +00:00
2014-02-25 17:13:42 +00:00
2012-03-29 05:02:12 +00:00
2012-11-15 15:21:58 +00:00
2011-11-06 19:01:41 +00:00
2012-10-07 19:53:04 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2014-03-20 17:30:09 +00:00
2013-01-16 05:00:51 +00:00
2013-12-25 15:23:01 +00:00
2014-01-25 02:16:09 +00:00
2014-04-13 05:21:56 +00:00
2013-10-30 11:41:28 +00:00
2014-04-24 11:28:23 +00:00
2014-04-13 05:21:56 +00:00
2014-04-06 16:35:49 +00:00
2012-03-19 19:17:55 +00:00
2011-11-06 19:01:48 +00:00
2012-06-03 06:57:47 +00:00
2012-10-22 03:00:37 +00:00
2013-05-10 16:41:26 +00:00
2010-10-19 21:32:13 +00:00
2013-10-27 21:06:17 +00:00
2014-02-22 00:16:27 +00:00
2014-05-06 04:22:01 +00:00
2013-04-02 05:30:41 +00:00
2010-12-08 10:27:07 +00:00
2012-03-26 21:22:53 +00:00
2010-10-19 21:32:13 +00:00
2011-02-21 09:56:08 +00:00
2011-11-06 19:01:54 +00:00
2012-03-26 15:18:14 +00:00
2014-04-13 05:21:56 +00:00
2014-05-06 04:22:01 +00:00
2013-11-09 04:50:05 +00:00
2012-09-14 11:51:49 +00:00
2012-06-03 06:57:47 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2013-11-12 12:44:59 +00:00
2014-05-06 04:22:01 +00:00
2014-05-17 15:26:08 +00:00
2012-05-24 02:24:03 +00:00
2014-05-06 04:22:01 +00:00
2014-05-06 04:22:01 +00:00
2013-11-25 22:55:47 +00:00
2012-10-19 14:49:42 +00:00
2012-07-19 08:56:30 +00:00
2014-05-15 18:34:31 +00:00
2014-05-17 02:53:10 +00:00
2010-10-19 21:32:13 +00:00
2014-05-06 04:22:01 +00:00
2013-05-03 23:51:32 +00:00
2012-06-19 06:10:31 +00:00
2012-09-01 14:45:15 +00:00
2013-02-14 14:44:08 +00:00
2010-10-19 21:32:13 +00:00
2014-04-30 18:11:53 +00:00
2011-06-06 18:40:01 +00:00
2012-09-01 10:56:15 +00:00
2014-05-06 04:22:01 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2014-05-06 04:22:01 +00:00
2014-04-06 02:57:49 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2012-10-22 02:12:15 +00:00
2014-04-14 22:01:49 +00:00
2014-04-22 15:17:32 +00:00
2012-01-27 09:15:55 +00:00
2010-12-20 08:54:30 +00:00
2012-01-12 00:34:33 +00:00
2013-11-09 14:48:50 +00:00
2013-02-20 12:40:26 +00:00
2013-03-18 23:22:47 +00:00
2014-03-10 16:07:45 +00:00
2013-04-11 18:46:41 +00:00
2014-05-06 04:22:01 +00:00
2014-01-30 21:32:25 +00:00
2013-04-21 22:47:24 +00:00
2012-05-17 11:50:12 +00:00
2013-12-25 01:20:14 +00:00
2014-05-09 14:24:02 +00:00
2014-05-20 03:00:20 +00:00
2012-11-18 16:33:51 +00:00
2013-07-01 21:41:12 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2011-06-21 21:07:33 +00:00
2014-05-06 04:22:01 +00:00
2010-10-19 21:32:13 +00:00
2014-01-30 21:32:25 +00:00
2010-10-19 21:32:13 +00:00
2012-07-04 10:17:02 +00:00
2014-05-06 04:22:01 +00:00
2013-07-10 18:07:01 +00:00
2010-10-19 21:32:13 +00:00
2013-04-04 12:03:30 +00:00
2014-05-20 14:39:22 +00:00
2013-09-03 13:40:24 +00:00
2014-04-22 22:02:06 +00:00
2014-05-15 18:51:01 +00:00
2012-10-19 14:49:42 +00:00
2014-05-18 15:31:53 +00:00
2010-10-19 21:32:13 +00:00
2014-04-21 19:33:27 +00:00
2014-02-11 15:16:49 +00:00
2014-05-06 04:22:01 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2011-09-28 18:53:36 +00:00
2014-04-22 21:07:56 +00:00
2014-02-06 09:57:27 +00:00
2012-09-27 23:31:19 +00:00
2012-10-19 14:49:42 +00:00
2013-04-07 15:33:06 +00:00
2012-10-19 14:49:42 +00:00
2011-11-06 19:02:31 +00:00
2011-11-06 19:02:37 +00:00
2014-03-23 09:15:14 +00:00
2014-03-14 03:07:51 +00:00
2014-03-14 03:07:51 +00:00
2010-10-19 21:32:13 +00:00
2012-02-22 06:27:20 +00:00
2014-04-13 05:21:56 +00:00
2012-02-07 09:27:07 +00:00
2014-05-06 04:22:01 +00:00
2013-05-03 23:51:32 +00:00
2013-08-05 20:13:02 +00:00
2013-09-02 20:44:19 +00:00
2012-09-30 03:21:21 +00:00
2013-08-17 22:13:26 +00:00
2014-03-16 11:04:44 +00:00
2014-05-06 04:22:01 +00:00
2014-05-06 04:22:01 +00:00
2014-03-15 02:26:46 +00:00
2014-01-22 16:50:18 +00:00
2013-09-07 20:25:22 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2012-05-24 02:24:03 +00:00
2012-09-27 23:31:19 +00:00
2011-01-13 17:30:18 +00:00
2011-11-06 19:02:49 +00:00
2014-05-06 04:22:01 +00:00
2013-11-21 00:54:26 +00:00
2014-05-06 04:22:01 +00:00
2014-05-06 04:22:01 +00:00
2013-01-30 18:24:29 +00:00
2014-05-06 04:22:01 +00:00
2014-03-16 04:09:22 +00:00
2013-04-22 18:31:39 +00:00
2010-12-04 14:19:27 +00:00
2012-05-08 15:18:35 +00:00
2014-05-06 04:22:01 +00:00
2014-05-15 16:44:25 +00:00
2011-02-16 21:04:47 +00:00
2010-10-19 21:32:13 +00:00
2013-05-13 18:13:50 +00:00
2013-09-23 20:06:59 +00:00
2013-03-13 12:23:14 +00:00
2014-01-21 08:24:12 +00:00
2013-11-03 16:43:52 +00:00
2013-05-11 13:32:38 +00:00
2012-02-14 09:29:37 +00:00
2013-05-12 22:22:12 +00:00
2013-09-05 19:02:03 +00:00
2014-02-08 13:37:02 +00:00
2014-04-10 10:56:11 +00:00
2012-03-26 21:22:53 +00:00
2014-05-06 04:22:01 +00:00
2011-12-19 20:44:44 +00:00
2013-12-15 16:17:00 +00:00
2010-10-19 21:32:13 +00:00
2012-02-07 09:27:07 +00:00
2013-07-15 05:09:13 +00:00
2013-10-15 07:37:30 +00:00
2010-10-19 21:32:13 +00:00
2010-10-19 21:32:13 +00:00
2014-05-06 04:22:01 +00:00
2013-06-28 21:00:08 +00:00
2012-03-13 00:45:27 +00:00
2013-06-28 21:00:08 +00:00
2013-06-28 21:00:08 +00:00
2010-10-19 21:32:13 +00:00
2012-03-29 02:54:35 +00:00
2013-06-28 21:00:08 +00:00
2013-06-28 21:00:08 +00:00