Determining Whether a Non-Global Zone Is Immutable
The parsable output of the zoneadm list -p
command from
the global zone displays an R/W
column and a
file-mac-profile
column. In the following output, the
fixed-configuration
running zones,
testzone2
and testzone3
, are
read-only, while the testzone1
running zone is a
read-write fixed-configuration
zone.
global$ zoneadm list -p
0:global:running:/:UUID:solaris:shared:-:none
5:testzone2:running:/export/zones/testzone2:UUID \
:solaris:shared:R:fixed-configuration
12:testzone3:running:/export/zones/testzone3:UUID \
:solaris:shared:R:fixed-configuration
13:testzone1:running:/export/zones/testzone1:UUID \
:solaris:excl:W:fixed-configuration
-:testzone:installed:/export/zones/testzone:UUID \
:solaris:excl:-:fixed-configuration