Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 13:04:27 +0900
From:      Daichi GOTO <daichi@ongs.co.jp>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: How to config timezone of linux_base-f8
Message-ID:  <49B5E6CB.1010608@ongs.co.jp>
In-Reply-To: <49B5DE6E.6030905@ongs.co.jp>
References:  <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Daichi GOTO wrote:
> Boris Samorodov wrote:
>> On Mon, 09 Mar 2009 12:40:51 +0900 Daichi GOTO wrote:
>>
>>> Title says everything :)
>>
>>> I want to use JST as default timezone for linux_base-f8.
>>> Anyone has any ideas?
>>
>> There were a thread called "Linux compat 2.6.16 reports time incorrect"
>> back in October 2008 and a workaround.
>>
>> The main problem seems to be an incompatibility between current native
>> and linux timezone versions.
>>
>>
>> WBR
> 
> Thanks. I have checked above mails. I understand.
> 
> 
> TO: bsam, linux_base-f8 maintainer I know :)
> 
> How about to add tzdata-2008h-1.fc8.noarch.rpm to Ports Collections
> and dependency of linux_base-f8?   If f8 has tzdata there, user can
> use their own tz just copying it to /compat/linux/etc/localtime. It
> looks good idea.
> 

Uh?   The tzdata-2008i-1.fc8.noarch.rpm has 3 JST tzdata files.

% rpm2cpio tzdata-2008i-1.fc8.noarch.rpm| cpio -idv | grep Tokyo
./usr/share/zoneinfo/right/Asia/Tokyo
./usr/share/zoneinfo/posix/Asia/Tokyo
./usr/share/zoneinfo/Asia/Tokyo
4067 blocks
%

% md5 ./usr/share/zoneinfo/right/Asia/Tokyo ./usr/share/zoneinfo/posix/Asia/Tokyo 
./usr/share/zoneinfo/Asia/Tokyo
MD5 (./usr/share/zoneinfo/right/Asia/Tokyo) = 0fce60d78288efb3685c1e2a19fb8e2b
MD5 (./usr/share/zoneinfo/posix/Asia/Tokyo) = f17769e8eb35e7a08cfedfe9b2f6b5ef
MD5 (./usr/share/zoneinfo/Asia/Tokyo) = f17769e8eb35e7a08cfedfe9b2f6b5ef
%

Which file should I use?  Anyone has any ideas?

-- 
   Daichi GOTO, http://people.freebsd.org/~daichi




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