old-www/HOWTO/Autodir-HOWTO/x235.html

258 lines
4.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Some definitions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Autodir HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="How it works"
HREF="x170.html"><LINK
REL="NEXT"
TITLE="Directory organization in the real base directory"
HREF="dirorg.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Autodir HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x170.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="dirorg.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN235"
></A
>8. Some definitions</H1
><P
>Before going further it is better to understand the following terms to simplify explanation.</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><EM
>Virtual directories</EM
></DT
><DD
><P
> These directories do not exist on disk. Instead these are created and deleted on demand in memory. If the system reboots all these directories vanish. In the previous figure, all directories under <TT
CLASS="filename"
>/home</TT
> are <EM
>virtual directories</EM
>.</P
></DD
><DT
><EM
>Virtual base directory</EM
></DT
><DD
><P
> This is the directory that holds all <EM
>Virtual directories</EM
>. This directory <EM
>does</EM
> exist on disk and therefore it remains even after reboot. In the previous figure <TT
CLASS="filename"
>/home</TT
> is <EM
>virtual base directory</EM
>.</P
></DD
><DT
><EM
>Real directories</EM
></DT
><DD
><P
> These are the directories that actually reside on the disk. Even after reboot, these remain intact. In the previous figure all directories created under <TT
CLASS="filename"
>/autohome</TT
> are <EM
>real directories</EM
>.</P
></DD
><DT
><EM
>Real base directory</EM
></DT
><DD
><P
> This is the directory that holds all real directories. In the above figure <TT
CLASS="filename"
>/autohome</TT
> is <EM
>real base directory</EM
>.</P
></DD
></DL
></DIV
><P
>Each <EM
>virtual directory</EM
> is mapped to a <EM
>real directory</EM
>. This means that whatever is written to or modified in the <EM
>virtual directory</EM
> is actually sent to the <EM
>real directory</EM
>.</P
><P
>On reboot of the system <EM
>real directories</EM
> and their content remain intact. But <EM
>virtual directories</EM
> are again created on demand, exactly as they were before.</P
><P
><EM
>Virtual directories</EM
> are removed if these are not used for a specified period of time, and created again if necessary. When a <EM
>Virtual directory</EM
> is removed, the backup program is started on the corresponding <EM
>real directory</EM
> - if backup is configured.</P
><DIV
CLASS="important"
><P
></P
><TABLE
CLASS="important"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/important.gif"
HSPACE="5"
ALT="Important"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Applications should access only <EM
>virtual directories</EM
>. <EM
>Real directories</EM
> are hidden from applications. Only the root user can see them. There is one exception: backup programs always access the <EM
>real directories</EM
> only.</P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x170.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="dirorg.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>How it works</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Directory organization in the real base directory</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>