fhs
Xose Vazquez Perez
xose at wanadoo.es
Tue Dec 23 16:44:03 UTC 2003
Alan Cox wrote:
> /usr/src/linux is Linus own official building place for kernels and the
> one all documentation uses, so the FHS won't get very far on that other than
> laughed out of existance
README file, of linux-2.4.24-pre2, is very clear here:
--cut--
[...]
INSTALLING the kernel:
- If you install the full sources, put the kernel tarball in a
directory where you have permissions (eg. your home directory) and
unpack it:
gzip -cd linux-2.4.XX.tar.gz | tar xvf -
Replace "XX" with the version number of the latest kernel.
Do NOT use the /usr/src/linux area! This area has a (usually
incomplete) set of kernel headers that are used by the library header
files. They should match the library, and not get messed up by
whatever the kernel-du-jour happens to be.
[...]
--end--
/usr must be a read only and very static fs.
"/usr is the second major section of the filesystem. /usr is shareable,
read-only data. That means that /usr should be shareable between various
FHS-compliant hosts and must not be written to. Any information that is
host-specific or varies with time is stored elsewhere."
"/usr/src : Source code (optional)
Purpose
Source code may be place placed in this subdirectory, only for reference purposes.*
* Generally, source should not be built within this hierarchy."
More information about the devel
mailing list