\section{/media}
\begin{frame}
   {/media}

   \begin{itemize}
      \item Used to mount file systems on removable
      media
      \begin{itemize}
         \item CD ROMS
         \item DVD
         \item USB drives
      \end{itemize}
      \item May be mounted dynamically
      \begin{info}[\texttt{/media} vs \texttt{/run}]
         \item Modern systems use \url{/run/media/[username]/...}
         instead of \filelink{/media}
      \end{info}
   \end{itemize}

\end{frame}

\cprotect\note{

   This directory was typically used to mount filesystems on
   removable media.  These include \textbf{CD}s,
   \textbf{DVD}s, and \textbf{USB} drives, and even
   Paleolithic era floppies.

   \textbf{Linux} systems mount such media
   dynamically upon insertion, and \textbf{udev} creates
   directories and then mounts the
   removable filesystems there, with names that are set with
   \textbf{udev} rules specified in configuration files.
   Upon unmounting and removal, the directories used as
   mount points disappear.

   If the media has more than one partition and filesystem,
   more than one entry will appear.
   On many \textbf{Linux} distributions the file manager
   (such as \textbf{Nautilus}) will pop up when the media is
   mounted.

   \begin{important}[\texttt{/run} has superseded \texttt{/media}]
      \textbf{Note:} With current \textbf{Linux} distributions
      removable media will
      pop up under \file{/run/media/[username]/...} instead of
      \filelink{/media}.
      We will discuss \filelink{/run} later.
   \end{important}
}


