Ignore:
Timestamp:
12/29/2005 01:24:51 AM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5254d12
Parents:
17be8c3
Message:

Changes to the Introduction section; standardized the file structure layout, standardized the id tags (except bootscripts) and some minor textual modifications

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5496 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/position.xml

    r17be8c3 r4afc2603  
    66]>
    77
    8 <sect1 id="intro-important-position">
     8<sect1 id="position">
    99  <?dbhtml filename="position.html"?>
    1010
     
    2222  LFS based system.</para>
    2323
    24   <para>In traditional Unix systems, <filename>/usr</filename> usually
    25   contains files that come with the system distribution, and the <filename>
    26   /usr/local</filename> tree is free for the local administrator to manage.
    27   The only really hard and fast rule is that Unix distributions should not
    28   touch <filename>/usr/local</filename>, except perhaps to create the basic
    29   directories within it.</para>
     24  <para>In traditional Unix systems,
     25  <filename class='directory'>/usr</filename> usually contains files that come
     26  with the system distribution, and the
     27  <filename class='directory'>/usr/local</filename> tree is free for the local
     28  administrator to manage. The only really hard and fast rule is that Unix
     29  distributions should not touch
     30  <filename class='directory'>/usr/local</filename>, except perhaps to create
     31  the basic directories within it.</para>
    3032
    31   <para>With Linux distributions, like Red Hat, Debian etc. a possible rule is
    32   that <filename>/usr</filename> is managed by the distribution's
    33   package system and <filename>/usr/local</filename> is not.  This way the
     33  <para>With Linux distributions like Red Hat, Debian, etc., a possible rule is
     34  that <filename class='directory'>/usr</filename> is managed by the
     35  distribution's package system and
     36  <filename class='directory'>/usr/local</filename> is not. This way the
    3437  package manager's database knows about every file within
    35   <filename>/usr</filename>.</para>
     38  <filename class='directory'>/usr</filename>.</para>
    3639
    3740  <para>LFS users build their own system and so deciding where
    3841  the system ends and local files begin is not straightforward.  So the choice
    39   should be made in order to make things easier to administer.  There are several
    40   reasons for dividing files between <filename>/usr</filename> and
    41   <filename>/usr/local</filename>.</para>
     42  should be made in order to make things easier to administer.  There are
     43  several reasons for dividing files between
     44  <filename class='directory'>/usr</filename> and
     45  <filename class='directory'>/usr/local</filename>.</para>
    4246
    4347  <itemizedlist>
    4448    <listitem>
    45       <para>On a network of several machines all running LFS,
    46       or mixed LFS and other Linux distributions,
    47       <filename>/usr/local</filename> could be used to hold packages
    48       that are common between all the computers in the network.  It can be
    49       NFS mounted or mirrored from a single server.  Here local
    50       indicates local to the site.</para>
     49      <para>On a network of several machines all running LFS, or mixed LFS and
     50      other Linux distributions,
     51      <filename class='directory'>/usr/local</filename> could be used to hold
     52      packages that are common between all the computers in the network. It can
     53      be NFS mounted or mirrored from a single server. Here local indicates
     54      local to the site.</para>
    5155    </listitem>
    5256    <listitem>
    5357      <para>On a network of several computers all running an identical
    54       LFS system <filename>/usr/local</filename> could hold
    55       packages that are different between the machines.  In this case local refers
    56       to the individual computers.</para>
     58      LFS system, <filename class='directory'>/usr/local</filename> could hold
     59      packages that are different between the machines. In this case local
     60      refers to the individual computers.</para>
    5761    </listitem>
    5862    <listitem>
    59       <para>Even on a single computer <filename>/usr/local</filename> can
    60       be useful if you have several distributions installed simultaneously, and want
     63      <para>Even on a single computer,
     64      <filename class='directory'>/usr/local</filename> can be useful if you
     65      have several distributions installed simultaneously, and want
    6166      a place to put packages that will be the same on all of them.</para>
    6267    </listitem>
    6368    <listitem>
    6469      <para>Or you might regularly rebuild your LFS, but
    65       want a place to put files that you don't want to rebuild each time.  This way
    66       you can wipe the LFS file system and start from a clean
     70      want a place to put files that you don't want to rebuild each time.  This
     71      way you can wipe the LFS file system and start from a clean
    6772      partition every time without losing everything.</para>
    6873    </listitem>
    6974  </itemizedlist>
    7075
    71   <para>Some people ask why not use your own directory tree, e.g., <filename>
    72   /usr/site</filename>, rather than <filename>/usr/local</filename>?</para>
     76  <para>Some people ask why not use your own directory tree, e.g.,
     77  <filename class='directory'>/usr/site</filename>, rather than
     78  <filename class='directory'>/usr/local</filename>?</para>
    7379
    7480  <para>There is nothing stopping you, many sites do make their own trees,
    7581  however it makes installing new software more difficult.  Automatic installers
    76   often look for dependencies in <filename>/usr</filename> and
    77   <filename>/usr/local</filename>, and if the file it is looking
    78   for is in <filename>/usr/site</filename> instead, the installer will
    79   probably fail unless you specifically tell it where to look.</para>
     82  often look for dependencies in
     83  <filename class='directory'>/usr</filename> and
     84  <filename class='directory'>/usr/local</filename>, and if the file it is
     85  looking for is in <filename class='directory'>/usr/site</filename> instead,
     86  the installer will probably fail unless you specifically tell it where to
     87  look.</para>
    8088
    8189  <para><emphasis>What is the BLFS position on this?</emphasis></para>
    8290
    8391  <para>All of the BLFS instructions install programs in
    84   <filename>/usr</filename> with optional instructions to install into
    85   <filename>/opt</filename> for some specific packages.</para>
     92  <filename class='directory'>/usr</filename> with optional instructions to
     93  install into <filename class='directory'>/opt</filename> for some specific
     94  packages.</para>
    8695
    8796</sect1>
Note: See TracChangeset for help on using the changeset viewer.