Subject: Re: workaround for pkg/14051
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-userlevel
Date: 01/23/2002 22:28:30
On Wed, Jan 23, 2002 at 04:09:27PM +0900, YAMAMOTO Takashi wrote:
> From: Noriyuki Soda <soda@sra.co.jp>
> > >>>>> On Tue, 22 Jan 2002 02:00:42 +0900 (JST),
> > 	YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> said:
> > 
> > > - make symlinks(like de_DE.ISO8859-1 -> de) in /usr/share/nls.
> > 
> > Hmmm. I'm not sure whether symlink is the right way or not to solve
> > the locale alias problem.
> > 
> > I personally prefer alias configuration file to symbolic link, because
> > configuration file can centralize the alias configuration, when there
> > are several hierarchies for locale related database
> > (e.g. /usr/share/nls/XXX and /usr/pkg/share/nls/XXX).
> > If we use symbolic link to resolve locale alias, we have to have
> > several symbolic links for one alias in this case.
> > Although symbolic link is much simpler mechanism than alias
> > configuration file...
> 
> like /usr/share/nls/nlsalias.db ?
> I agree that it sounds better than symlinks.
> I'll try to implement it before commit previous patches.
> thanks.

Can this file be shared across machine types ?
All what's in /usr/share should be machine independant, to be shared
by all NetBSD systems. If its format depends on the CPU type, please
move it somewhere else (/usr/libdata may be a good choise).

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--