January 22, 2005

Xorg & File System Hierarchy Standard (FHS)

剛剛看 Gentoo Developers 之一的 Donnie Berkholz 前天撰寫的 blog: [6.8.2 RC2],提到以下敘述:
The next step of the migration will probably be /usr/X11R6/bin -> /usr/bin and /usr/X11R6/include -> /usr/include/X11 to finish things off, but I don't expect it will happen until 6.8.2. It will definitely be nice to just have /usr/X11R6 -> /usr. First, however, I need to fix my highly specific migration function to be more robust and generalizable to anything. Actually,'s might be a good opportunity to work on this, so 6.8.2 could also signify the lack of anything in /usr/X11R6.

這個議題事實上已經討論多時,比方說 [Installing XFree86 to FHS/better locations] 裡頭的描述中,我們可以發現 X11 許多 packaging 的方式與 FHS (File System Hierarchy Standard) 的原則部分抵觸,而 SuSE 的文件 [SuSE and the File System Hierarchy Standard (FHS) ] 在 [2.2.1 /usr/X11R6: X Window System, version 11, release 6] 一節則指出:
Host-specific data is in /usr/X11R6/lib/X11. The FHS intends this directory to be used for demonstration files only. Because SuSE doesn't use /etc/X11, the configuration files for window managers, applications, and so on are still in this directory.

Gentoo 是個勇於創新的 Linux Distribution,可以想見,Donnie Berkholz 很快就會在 Gentoo portage 中落實上述的規劃,而 Debian X Window System 的 maintainer,Daniel Stone,也多次表示將不再使用 /usr/X11R6 這樣的 directory entries。

在 Xorg 最近的發展中,[dlloader is now the default] 讓 Xorg 的許多 modules 得以符合 LSB (Linux Standard Base) 作包裝,不過,這又引來許多討論,有興趣的朋友可以 follow up 上述的 thread。

Xorg rules!

由 jserv 發表於 January 22, 2005 10:03 PM