Date: Fri, 24 Nov 2023 00:51:07 -0700 From: Warner Losh <imp@bsdimp.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Ed Maste <emaste@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 5e16809c953f - main - tzsetup: symlink /etc/localtime instead of copying Message-ID: <CANCZdfpYLW0BeDrDYwWe2o5makDRwEBNkz0ObqPx6jxwkWZrqQ@mail.gmail.com> In-Reply-To: <ZWBOD4a-dXluIN1S@kib.kiev.ua> References: <202311240217.3AO2HBCq026261@gitrepo.freebsd.org> <ZWBOD4a-dXluIN1S@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000a9b7fb060ae1376b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 24, 2023 at 12:17=E2=80=AFAM Konstantin Belousov <kostikbel@gma= il.com> wrote: > On Fri, Nov 24, 2023 at 02:17:11AM +0000, Ed Maste wrote: > > The branch main has been updated by emaste: > > > > URL: > https://cgit.FreeBSD.org/src/commit/?id=3D5e16809c953f4cd19fadb1767469dec= 319de0353 > > > > commit 5e16809c953f4cd19fadb1767469dec319de0353 > > Author: Ed Maste <emaste@FreeBSD.org> > > AuthorDate: 2022-10-14 16:44:35 +0000 > > Commit: Ed Maste <emaste@FreeBSD.org> > > CommitDate: 2023-11-24 02:13:49 +0000 > > > > tzsetup: symlink /etc/localtime instead of copying > > > > Using a symlink means that new timezone data (installed by an errat= a > > update, say) will be usable without having to be copied again. > Does this mean that installations with split / and /usr get broken? > Not in any real sense, no. Very little is run prior to /usr being mounted in these setups. What is run isn't a daemon and very few of them print times. And if they were, they'd print it in UTC not local time. The only thing I can think of that might be user-visible would be boot -s to single user. Date will report UTC instead of local time in these setups (which these days have become somewhat rare). Warner --000000000000a9b7fb060ae1376b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Fri, Nov 24, 2023 at 12:17=E2=80= =AFAM Konstantin Belousov <<a href=3D"mailto:kostikbel@gmail.com">kostik= bel@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex">On Fri, Nov 24, 2023 at 02:17:11AM +0000, Ed Maste wrote:<br> > The branch main has been updated by emaste:<br> > <br> > URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D5e16809c953f= 4cd19fadb1767469dec319de0353" rel=3D"noreferrer" target=3D"_blank">https://= cgit.FreeBSD.org/src/commit/?id=3D5e16809c953f4cd19fadb1767469dec319de0353<= /a><br> > <br> > commit 5e16809c953f4cd19fadb1767469dec319de0353<br> > Author:=C2=A0 =C2=A0 =C2=A0Ed Maste <emaste@FreeBSD.org><br> > AuthorDate: 2022-10-14 16:44:35 +0000<br> > Commit:=C2=A0 =C2=A0 =C2=A0Ed Maste <emaste@FreeBSD.org><br> > CommitDate: 2023-11-24 02:13:49 +0000<br> > <br> >=C2=A0 =C2=A0 =C2=A0tzsetup: symlink /etc/localtime instead of copying<= br> >=C2=A0 =C2=A0 =C2=A0<br> >=C2=A0 =C2=A0 =C2=A0Using a symlink means that new timezone data (insta= lled by an errata<br> >=C2=A0 =C2=A0 =C2=A0update, say) will be usable without having to be co= pied again.<br> Does this mean that installations with split / and /usr get broken?<br></bl= ockquote><div><br></div><div>Not in any real sense, no. Very little is run = prior to /usr being mounted in these setups. What is run isn't a daemon= and very few of them print times. And if they were, they'd print it in= UTC not local time.</div><div><br></div><div>The only thing I can think of= that might be user-visible would be boot -s to single user. Date will repo= rt UTC instead of local time in these setups (which these days have become = somewhat rare).<br></div><div><br></div><div>Warner <br></div></div></div> --000000000000a9b7fb060ae1376b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpYLW0BeDrDYwWe2o5makDRwEBNkz0ObqPx6jxwkWZrqQ>