mirror of https://github.com/tLDP/LDP
First complete draft update to FHS 2.3
This commit is contained in:
parent
f994a760e2
commit
b697c745e7
|
@ -37,7 +37,7 @@
|
||||||
This section describes only a suggested placement for user home
|
This section describes only a suggested placement for user home
|
||||||
directories; nevertheless we recommend that all FHS-compliant
|
directories; nevertheless we recommend that all FHS-compliant
|
||||||
distributions use this as the default location for home directories.
|
distributions use this as the default location for home directories.
|
||||||
On small systems, each user’s directory is typically one of the many
|
On small systems, each user's directory is typically one of the many
|
||||||
subdirectories of /home such as /home/smith, /home/torvalds,
|
subdirectories of /home such as /home/smith, /home/torvalds,
|
||||||
/home/operator, etc. On large systems (especially when the /home
|
/home/operator, etc. On large systems (especially when the /home
|
||||||
directories are shared amongst many hosts using NFS) it is useful
|
directories are shared amongst many hosts using NFS) it is useful
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
The setup will differ from host to host. Therefore, no program
|
The setup will differ from host to host. Therefore, no program
|
||||||
should rely on this location.
|
should rely on this location.
|
||||||
|
|
||||||
If you want to find out a user’s home directory, you should use the
|
If you want to find out a user's home directory, you should use the
|
||||||
getpwent(3) library function rather than relying on /etc/passwd because
|
getpwent(3) library function rather than relying on /etc/passwd because
|
||||||
user information may be stored remotely using systems such as NIS.
|
user information may be stored remotely using systems such as NIS.
|
||||||
|
|
||||||
|
|
|
@ -63,16 +63,12 @@ The /lib directory contains kernel modules and those shared library images (the
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>is the PCI equivalent of the
|
<para>is the PCI equivalent of the
|
||||||
/lib/modules/'kernel-version'/isapnpmap.dep file.
|
/lib/modules/'kernel-version'/isapnpmap.dep file.
|
||||||
It is recommended that apart from autosave and lock files programs should refrain from creating non dot files
|
|
||||||
or directories in a home directory without user intervention.
|
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>/lib/modules/'kernel-version'/usbmap</term>
|
<term>/lib/modules/'kernel-version'/usbmap</term>
|
||||||
It is recommended that apart from autosave and lock files programs should refrain from creating non dot files
|
|
||||||
or directories in a home directory without user intervention.
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>is the USB equivalent of the
|
<para>is the USB equivalent of the
|
||||||
/lib/modules/'kernel-version'/isapnpmap.dep file.</para>
|
/lib/modules/'kernel-version'/isapnpmap.dep file.</para>
|
||||||
|
@ -95,8 +91,6 @@ or directories in a home directory without user intervention.
|
||||||
<para>PAM library files.</para>
|
<para>PAM library files.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
It is recommended that apart from autosave and lock files programs should refrain from creating non dot files
|
|
||||||
or directories in a home directory without user intervention.
|
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</para>
|
</para>
|
||||||
|
|
|
@ -13,6 +13,22 @@
|
||||||
distributions like Debian allocate /floppy and /cdrom as mount points while
|
distributions like Debian allocate /floppy and /cdrom as mount points while
|
||||||
Redhat and Mandrake puts them in /mnt/floppy and /mnt/cdrom respectively.</para>
|
Redhat and Mandrake puts them in /mnt/floppy and /mnt/cdrom respectively.</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
However, it should be noted that as of FSSTND version 2.3 the purpose of this
|
||||||
|
directory has changed.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<screen>
|
||||||
|
This directory is provided so that the system administrator may temporarily
|
||||||
|
mount a filesystem as needed. The content of this directory is a local issue
|
||||||
|
and should not affect the manner in which any program is run.
|
||||||
|
|
||||||
|
This directory must not be used by installation programs: a suitable temporary
|
||||||
|
directory not in use by the system must be used instead.
|
||||||
|
</screen>
|
||||||
|
</para>
|
||||||
|
|
||||||
<sect2 id="mount-and-umount"><title>Mounting and unmounting</title>
|
<sect2 id="mount-and-umount"><title>Mounting and unmounting</title>
|
||||||
<para>Before one can use a filesystem, it has to be <glossterm>mounted</glossterm>.
|
<para>Before one can use a filesystem, it has to be <glossterm>mounted</glossterm>.
|
||||||
The operating system then does various bookkeeping things to make sure that
|
The operating system then does various bookkeeping things to make sure that
|
||||||
|
@ -175,23 +191,5 @@
|
||||||
<command>mount</command> manual page. If you aren't careful, mounting an
|
<command>mount</command> manual page. If you aren't careful, mounting an
|
||||||
MS-DOS filesystem gives everyone at least read access to the files in it,
|
MS-DOS filesystem gives everyone at least read access to the files in it,
|
||||||
which is not a good idea.</para></sect2>
|
which is not a good idea.</para></sect2>
|
||||||
|
|
||||||
|
|
||||||
<para>
|
|
||||||
However, it should be noted that as of FSSTND version 2.3 the purpose of this
|
|
||||||
directory has changed.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<screen>
|
|
||||||
This directory is provided so that the system administrator may temporarily
|
|
||||||
mount a filesystem as needed. The content of this directory is a local issue
|
|
||||||
and should not affect the manner in which any program is run.
|
|
||||||
|
|
||||||
This directory must not be used by installation programs: a suitable temporary
|
|
||||||
directory not in use by the system must be used instead.
|
|
||||||
</screen>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
We recommend against using the root account for tasks that can be
|
We recommend against using the root account for tasks that can be
|
||||||
performed as an unprivileged user, and that it be used solely for
|
performed as an unprivileged user, and that it be used solely for
|
||||||
system administration. For this reason, we recommend that subdirectories
|
system administration. For this reason, we recommend that subdirectories
|
||||||
for mail and other applications not appear in the root account’s home
|
for mail and other applications not appear in the root account's home
|
||||||
directory, and that mail for administration roles such as root, postmaster,
|
directory, and that mail for administration roles such as root, postmaster,
|
||||||
and webmaster be forwarded to an appropriate user.
|
and webmaster be forwarded to an appropriate user.
|
||||||
</screen>
|
</screen>
|
||||||
|
|
Loading…
Reference in New Issue