197 lines
3.6 KiB
HTML
197 lines
3.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>/media</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Linux Filesystem Hierarchy"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Linux Filesystem Hierarchy"
|
|
HREF="c23.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="/lost+found"
|
|
HREF="lostfound.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="/mnt"
|
|
HREF="mnt.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"
|
|
>Linux Filesystem Hierarchy: </TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="lostfound.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 1. Linux Filesystem Hierarchy</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="mnt.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="media"
|
|
></A
|
|
>1.11. /media</H1
|
|
><P
|
|
> Amid much controversy and consternation on the part of system and
|
|
network administrators a directory containing mount points for removable
|
|
media has now been created. Funnily enough, it has been named /media.
|
|
</P
|
|
><P
|
|
> <TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
> This directory contains subdirectories which are used as mount points for
|
|
removeable media such as floppy disks, cdroms and zip disks.
|
|
|
|
The motivation for the creation of this directory has been that historically
|
|
there have been a number of other different places used to mount removeable
|
|
media such as /cdrom, /mnt or /mnt/cdrom. Placing the mount points for all
|
|
removeable media directly in the root directory would potentially result in
|
|
a large number of extra directories in /. Although the use of subdirectories
|
|
in /mnt as a mount point has recently been common, it conflicts with a much
|
|
older tradition of using /mnt directly as a temporary mount point.
|
|
|
|
The following directories, or symbolic links to directories, must be in /media,
|
|
if the corresponding subsystem is installed:
|
|
|
|
floppy Floppy drive (optional)
|
|
cdrom CD-ROM drive (optional)
|
|
cdrecorder CD writer (optional)
|
|
zip Zip drive (optional)
|
|
|
|
On systems where more than one device exists for mounting a certain type of
|
|
media, mount directories can be created by appending a digit to the name of
|
|
those available above starting with '0', but the unqualified name must also
|
|
exist.
|
|
|
|
A compliant implementation with two CDROM drives might have /media/cdrom0
|
|
and /media/cdrom1 with /media/cdrom a symlink to either of these.
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
><P
|
|
> Please see the section on the /mnt directory to achieve a better understanding
|
|
of the process on mounting and unmounting filesystems.
|
|
</P
|
|
></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="lostfound.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="mnt.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>/lost+found</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="c23.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>/mnt</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |