Ticket #3496: localtime.patch
File localtime.patch, 1.3 KB (added by , 11 years ago) |
---|
-
trunk/BOOK/chapter06/glibc.xml
336 336 <para>Then create the <filename>/etc/localtime</filename> file by 337 337 running:</para> 338 338 339 <screen><userinput>cp -v --remove-destination/usr/share/zoneinfo/<replaceable><xxx></replaceable> \339 <screen><userinput>cp -v /usr/share/zoneinfo/<replaceable><xxx></replaceable> \ 340 340 /etc/localtime</userinput></screen> 341 341 342 342 <para>Replace <replaceable><xxx></replaceable> with the name of the 343 343 time zone selected (e.g., Canada/Eastern).</para> 344 344 345 <variablelist>346 <title>The meaning of the cp option:</title>347 348 <varlistentry>349 <term><parameter>--remove-destination</parameter></term>350 <listitem>351 <para>This is needed to force removal of the already existing symbolic352 link. The reason for copying the file instead of using a symlink is to353 cover the situation where <filename class="directory">/usr</filename>354 is on a separate partition. This could be important when booted into355 single user mode.</para>356 </listitem>357 </varlistentry>358 359 </variablelist>360 361 345 </sect2> 362 346 363 347 <sect2 id="conf-ld" role="configuration">