xref: /titanic_44/usr/src/man/man4/timezone.4 (revision d4f95bf4d6ec7ef0f01e5ddf22813ac641edf019)
te
Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
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.
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.
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]
TIMEZONE 4 "Feb 18, 2003"
NAME
timezone - default timezone data base
SYNOPSIS

/etc/timezone
DESCRIPTION

The timezone file contains information regarding the default timezone for each host in a domain. Alternatively, a single default line for the entire domain may be specified. Each entry has the format:

Timezone-name official-host-or-domain-name

Items are separated by any number of blanks and/or TAB characters. A `#' indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which search the file. The timezone is a pathname relative to the directory /usr/share/lib/zoneinfo.

This file is not actually referenced by any system software; it is merely used as a source file to construct the NIS timezone.byname map. This map is read by sysidtool(1M) to initialize the timezone of the client system at installation time. For more information, see the Solaris Express Installation Guide: Basic Installations.

The timezone file does not set the timezone environment variable TZ. See TIMEZONE(4) for information to set the TZ environment variable.

EXAMPLES

Example 1 Typical timezone line

Here is a typical line from the /etc/timezone file:

US/Eastern East.Sun.COM #Sun East Coast
FILES
/etc/timezone

SEE ALSO

sysidtool(1M), TIMEZONE(4)

Solaris Express Installation Guide: Basic Installations