[fhs-discuss] games/ as a separate directory

Steve Langasek vorlon at debian.org
Tue May 17 00:23:01 PDT 2011


On Thu, May 05, 2011 at 12:39:05PM -0400, Jeff Licquia wrote:
> >> The following directories, or symbolic links to directories, must be
> >> in /usr/ share, if the corresponding subsystem is installed:
> > [...]
> >> games     Static data files for /usr/games (optional)

> > Possible interpretations include

> > a) "/usr/games is optional when games are installed"
> > b) "/usr/games must be created if there are any games installed"
> > c) "/usr/games must be created _and used_ if there are any games installed"

> > In any case, the wording of this section should probably be improved.

> I agree; there's some ambiguity here.

The wording can be improved, but I don't think it's ambiguous.  "optional"
is used throughout the spec with the meaning "this is an optional component
of the system, but if present, this is where the component should be
located".

>  Oddly, /usr/games is not referenced anywhere else in the current spec.

'games' is listed in 4.3 as one of the top-level optional directories under
/usr.

> I don't think it's wrong to install games to /usr/bin (and the
> specification definitely does not forbid it),

Given the above understanding of "optional", I disagree.

> The mentions of /usr/share/games and /usr/lib/games seem a bit like 
> micro-management to me.  Certainly, they should not be disallowed, but 
> what's wrong with /usr/share/[mygame] vs. /usr/share/games/[mygame]?

Nothing would be wrong with installing directly to /usr/share/[mygame], but
you're describing a normative change to the spec.  I think a stronger
rationale is needed here for such a change than a post facto decision that
the current spec engages in "micro-management".

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
Url : http://lists.linux-foundation.org/pipermail/fhs-discuss/attachments/20110517/b230514a/attachment.pgp 


More information about the fhs-discuss mailing list