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. |
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:
/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/zone.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) | October 21, 2009 |
Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual). | ” |
— The Unix Haters' handbook |