Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 1997 19:02:13 +1030
From:      Mike Smith <mike@smith.net.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        emulation@FreeBSD.ORG, handy@sag.space.lockheed.com, wollman@FreeBSD.ORG
Subject:   Re: localtime under Linux-emu? 
Message-ID:  <199711250832.TAA00970@word.smith.net.au>
In-Reply-To: Your message of "Thu, 20 Nov 1997 21:04:26 %2B1100." <199711201004.VAA01710@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >I seem to remember that it was non-trivial to make Linux figure out what
> >time it was, does this still hold true?  
> 
> I think it has always been trivial:
> 
> 	mkdir /compat/linux/usr/lib/zoneinfo
> 	cp /etc/localtime /compat/linux/usr/lib/zoneinfo

The correct for this uses a symlink in order to make the package 
timezone-portable.  I've done that already.

> Linux `file' fails similarly.  It looks for "magic" only in
> /compat/linux/usr/lib and /usr/lib/.

Does linux 'file' use the same format as the FreeBSD 'file' for "magic"?

>  Linux editors tend to work
> because FreeBSD has a backwards compatibility link /etc/termcap ->
> /usr/share/misc/termcap.  Things should work better if /compat/linux
> contains a full Linux tree.

"full" is somewhat of a variable concept.  Beyond the above, do you 
have any suggestions for other items that would be valuable?

mike





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711250832.TAA00970>