| Main index | Section 8 | 日本語 | Options |
The following options are available:
| | Open all files and directories relative to chroot_directory. |
| | Do not create or copy files. |
| | Reinstall the zoneinfo file installed last time. The name is obtained from /var/db/zoneinfo. |
| | Skip the initial question about adjusting the clock if not set to UTC. tzsetup will neither create nor delete /etc/wall_cmos_clock. On a newly installed system the hardware clock will keep UTC. |
It is possible to short-circuit the menu system by specifying the location of a zoneinfo_file or the name of the zoneinfo_name on the command line; this is intended mainly for pre-configured installation scripts or people who know which zoneinfo they want to install.
The maintainers of the database maintain the following policies:
The source code to the database ( /usr/src/contrib/tzdata/[a-z]*) contains many additional comments and documentation references for the historically minded.
| /etc/localtime | current time zone file |
| /etc/wall_cmos_clock | see adjkerntz(8) |
| /usr/share/misc/iso3166 | mapping of ISO 3166 territory codes to names |
| /usr/share/zoneinfo | directory for zoneinfo files |
| /usr/share/zoneinfo/zone1970.tab | |
| mapping of timezone file to country and location | |
| /var/db/zoneinfo | saved name of the timezone file installed last |
# tzsetup
Install the file /usr/share/zoneinfo/Australia/Sydney:
# tzsetup /usr/share/zoneinfo/Australia/Sydney
Install the zoneinfo file for Australia/Sydney, assumed to be located in /usr/share/zoneinfo:
# tzsetup Australia/Sydney
After a reinstall of the zoneinfo files, you can reinstall the latest installed zoneinfo file (as specified in /var/db/zoneinfo):
# tzsetup -r
| TZSETUP (8) | June 14, 2024 |
| Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
