From: Eivind Eklund Date: 2004-09-15T21:09:52+09:00 Subject: Re: Ruby and FHS On Wed, Sep 15, 2004 at 08:12:33PM +0900, Kirill A. Shutemov wrote: > On Wed, Sep 15, 2004 at 08:00:30PM +0900, Austin Ziegler wrote: > > On Wed, 15 Sep 2004 15:11:27 +0900, Kirill A. Shutemov > > wrote: > > > Ruby has some nonconformity with Filesystem Hierarchy Standard: > > > > > > * headers placed in /usr/lib/ruby... but must be placed in > > > /usr/include/ruby (see 4.7 and 4.6 of FHS) > > > > > > * .rb of standart library placed in /usr/lib/ruby/... but must be > > > placed in /usr/share/ruby... becouse it's system independent part of ruby > > > (see 4.7 and 4.11 of FSH) > > > > Is the FHS a Linux thing, or does it cross Unix boundaries? If the > > former, then I don't really see a reason to follow it. Sorry. > > > Quote: > "This standard consists of a set of requirements and > guidelines for file and directory placement under UNIX-like > operating systems. The guidelines are intended to support > interoperability of applications, system administration tools, > development tools, and scripts as well as greater uniformity > of documentation for these systems." The FHS is in effect a Linuxism. It is the way different Linux distributions standardize their file system layout, and is as far as I know not used as the primary reference for anything but Linux distributions. HOWEVER: The guidelines there match fairly well with other systems. The intention for share/ (intended for NFS sharing) and lib/ (binary code) is also in SunOS and *BSD. The use of /usr instead of /usr/local is a Linuxism. The FHS is at http://www.pathname.com/fhs/ The FreeBSD guidelines (which I believe match closely with the NetBSD and OpenBSD guidelines) is at http://www.freebsd.org/cgi/man.cgi?query=hier The SunOS and Solaris practice is at Eivind.