The is_root flag in the target_schema corresponds to the
'bootfs' pool property. That is, 'is_root' tells TI
what to set 'bootfs' to.
Currently the is_root flag is set at the zpool level
in the schema. Looking at zpool(1M), the bootfs property
contains a value like this:
bootfs=pool/dataset
That implies that is_root really must be set at the
'filesystem' level in the schema:
@@ -149,7 +149,6 @@
<!ELEMENT zpool (vdev*, filesystem*, zvol*, pool_options?, dataset_options?,
be*)>
<!ATTLIST zpool name CDATA #REQUIRED>
<!ATTLIST zpool action (create|delete|preserve|use_existing) "create">
-<!ATTLIST zpool is_root (true|false) "false">
<!ATTLIST zpool mountpoint CDATA #IMPLIED>
<!--
@@ -176,6 +175,7 @@
<!ELEMENT filesystem (options?)>
<!ATTLIST filesystem name CDATA #REQUIRED>
<!ATTLIST filesystem action (create|delete|preserve) "create">
+<!ATTLIST filesystem is_root (true|false) "false">
<!ATTLIST filesystem mountpoint CDATA #IMPLIED>
Does this change seem reasonable?
Alok
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss