From owner-freebsd-emulation Tue Nov 25 00:36:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA25671 for emulation-outgoing; Tue, 25 Nov 1997 00:36:51 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA25658; Tue, 25 Nov 1997 00:36:44 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id TAA00970; Tue, 25 Nov 1997 19:02:13 +1030 (CST) Message-Id: <199711250832.TAA00970@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bruce Evans cc: emulation@FreeBSD.ORG, handy@sag.space.lockheed.com, wollman@FreeBSD.ORG Subject: Re: localtime under Linux-emu? In-reply-to: Your message of "Thu, 20 Nov 1997 21:04:26 +1100." <199711201004.VAA01710@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Nov 1997 19:02:13 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >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