Skip to content

localtime

Calin Crisan edited this page May 5, 2022 · 3 revisions

File Location And Role

The file lives at /data/etc/localtime. It is created during the first boot by S00datapart right after the data partition is allocated and formatted.

The /data/etc/localtime file is a symlink to one of the time zone files in /usr/share/zoneinfo. By default it points to /usr/share/zoneinfo/UTC. Changing the system time zone is accomplished by changing the symlink to the corresponding zone info file.

Internally, the system uses in fact the /etc/localtime file which is, in turn, a symlink to /data/etc/localtime.

Clone this wiki locally