1 '\" te 2 .\" Copyright 2003 Sun Microsystems, Inc. All rights reserved. 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. 4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. 5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] 6 .\" Copyright 2022 Oxide Computer Company 7 .Dd February 5, 2022 8 .Dt ZCONS 7D 9 .Os 10 .Sh NAME 11 .Nm zcons 12 .Nd Zone console device driver 13 .Sh DESCRIPTION 14 The 15 .Nm zcons 16 character driver exports the console for system zones. 17 The driver is fundamentally similar to a pseudo-terminal device, and is thus 18 comprised of two sides: 19 .Bl -bullet 20 .It 21 a manager device, which applications in the global zone can open for 22 communication 23 .It 24 a subsidiary device, which processes in the non-global zone can write to, to 25 communicate with global zone management applications 26 .El 27 .Pp 28 Applications must not depend on the location of 29 .Pa /dev 30 or 31 .Pa /devices 32 entries exposed by 33 .Nm zcons 34 in the global zone. 35 Inside a non-global zone, the 36 .Nm zcons 37 subsidiary device is fronted by 38 .Pa /dev/console 39 and other console-related symbolic links, which are used by applications that 40 expect to write to the system console. 41 .Pp 42 The 43 .Nm 44 driver is not a 45 .Sy Committed 46 interface, and may change at any time. 47 .Sh FILES 48 .Bl -tag -width Pa 49 .It Pa /dev/zcons/ZONENAME/globalconsole 50 Global zone console manager device for zone 51 .Sy ZONENAME . 52 .It Pa /dev/zcons/ZONENAME/zoneconsole 53 Global zone console subsidiary device for zone 54 .Sy ZONENAME . 55 .It Pa /dev/zconsole 56 Non-global zone console (subsidiary device). 57 .El 58 .Sh INTERFACE STABILITY 59 .Sy Uncommitted 60 .Sh SEE ALSO 61 .Xr zoneadm 1M , 62 .Xr zonecfg 1M , 63 .Xr attributes 5 , 64 .Xr zones 5