Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] /etc/localtime

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Alan Woolley <seth AT positivism.org>
  • To: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • Cc: Hamish Greig <hgreig AT bigpond.net.au>, sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] /etc/localtime
  • Date: Sat, 8 Nov 2003 13:16:57 -0800

On Sat, Nov 08, 2003 at 03:12:04PM -0600, Casey Harkins wrote:
>
> Debian, RedHat and LFS are all copying it now instead of symlinking:
>
> http://bugs.linuxfromscratch.org/show_bug.cgi?id=259
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=19140
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91228
>
> Actually looking at the debian bug, I'm not sure if that is what they are
> doing or not. I can only think of those two solutions, copying and
> including /usr/share/zoneinfo on / partition (if /usr is separate).
>
> Copying /usr/share/zoneinfo to rootfs idea came from this message:
>
> http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/2002-April/000407.html
>
> casey@brak:~$ du -sh /usr/share/zoneinfo/
> 5.0M /usr/share/zoneinfo
>
> The extra 5M shouldn't be a huge issue, but it is sort of a hack. I don't
> really care which way we go, or if someone can think of a better way, but
> I do think that we should make /etc/localtime available without requiring
> /usr to be mounted.
>
> I'm also seeing some messages where people have a
> /usr/share/zoneinfo/localtime symlink pointing to the the actual zoneinfo
> file, and have a copy of the file in /etc/localtime.
>
> Thoughts?
>
> -casey
>

I like the last solution. It means we can tell what the source is and
we don't need to duplicate 5m of data.

Seth

--
Seth Alan Woolley <seth at positivism.org>, SPAM/UCE is unauthorized
Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A

Attachment: pgpLTCrhp330y.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page