\hypertarget{group__Eeze__Disk}{\section{Disk}
\label{group__Eeze__Disk}\index{Disk@{Disk}}
}


Scan and query information about disks.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}
\item 
struct \hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Eeze__Disk_gac6dd3330800f88a114499126a8883464}{typedef struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Mount}}\label{group__Eeze__Disk_gac6dd3330800f88a114499126a8883464}

\item 
\hypertarget{group__Eeze__Disk_gacabf466c09a394bbfaf5304f973ca3c8}{typedef struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Unmount}}\label{group__Eeze__Disk_gacabf466c09a394bbfaf5304f973ca3c8}

\item 
\hypertarget{group__Eeze__Disk_gaf9bdb9dad4d1c28a32030909e2bf6ecf}{typedef struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Eject}}\label{group__Eeze__Disk_gaf9bdb9dad4d1c28a32030909e2bf6ecf}

\item 
typedef struct \+\_\+\+Eeze\+\_\+\+Disk \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}
\item 
typedef struct \\*
\hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error} \hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} \{ \\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N} = 0, 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L} = (1 $<$$<$ 0), 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+D\+R\+O\+M} = (1 $<$$<$ 1), 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+B} = (1 $<$$<$ 2), 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+A\+S\+H} = (1 $<$$<$ 3)
 \}
\item 
enum \hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts} \{ \\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+L\+O\+O\+P} = (1 $<$$<$ 1), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+T\+F8} = (1 $<$$<$ 2), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+E\+X\+E\+C} = (1 $<$$<$ 3), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+S\+U\+I\+D} = (1 $<$$<$ 4), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+R\+E\+M\+O\+U\+N\+T} = (1 $<$$<$ 5), 
\\*
\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D} = (1 $<$$<$ 6), 
\\*
\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V} = (1 $<$$<$ 7)
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga295e4aa9899d8c841c8eab79c5e6b5bc}{eeze\+\_\+disk\+\_\+function} (void)
\begin{DoxyCompactList}\small\item\em Use this function to determine whether your eeze is disk-\/capable. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga195818042c4dabb7eeeb979fbcd484f7}{eeze\+\_\+disk\+\_\+can\+\_\+mount} (void)
\begin{DoxyCompactList}\small\item\em Return whether mount support is available in eeze. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga54ccd9241e67dcfcbb5828d0a5988005}{eeze\+\_\+disk\+\_\+can\+\_\+unmount} (void)
\begin{DoxyCompactList}\small\item\em Return whether unmount support is available in eeze. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga088856faf582e9009385bb04899251e5}{eeze\+\_\+disk\+\_\+can\+\_\+eject} (void)
\begin{DoxyCompactList}\small\item\em Return whether eject support is available in eeze. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$ \hyperlink{group__Eeze__Disk_gaf8fa49e10d44cc10af4414eddecc7165}{eeze\+\_\+disk\+\_\+new} (const char $\ast$path)
\begin{DoxyCompactList}\small\item\em Create a new disk object from a /sys/ path or /dev/ path. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$ \hyperlink{group__Eeze__Disk_gac492d3a81ac236b97b11ce0b719f650b}{eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount} (const char $\ast$mount\+\_\+point)
\begin{DoxyCompactList}\small\item\em Create a new disk object from a mount point. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}{eeze\+\_\+disk\+\_\+free} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Frees a disk object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}{eeze\+\_\+disk\+\_\+scan} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve all disk information. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}{eeze\+\_\+disk\+\_\+data\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Associate data with a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Eeze__Disk_ga7b4f00cbf710b6f3b203c44a2b941f3e}{eeze\+\_\+disk\+\_\+data\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve data previously associated with a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gacfc7410df1de71cbcb071e1b79fc5d30}{eeze\+\_\+disk\+\_\+syspath\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /sys/ path of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga93939eb0b573c9e354d568a6f63de9fe}{eeze\+\_\+disk\+\_\+devpath\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /dev/ path of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga9d986d92ee9d7fbf1d52537dd9a93f21}{eeze\+\_\+disk\+\_\+fstype\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the filesystem of the disk (if known) \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga43bb7dd075e91be35cf44adf431d36bc}{eeze\+\_\+disk\+\_\+vendor\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the manufacturing vendor of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga4f885b8f5d2d64c45595599af915ec65}{eeze\+\_\+disk\+\_\+model\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the model of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gaae78365f537021967c2a0bd2709c658d}{eeze\+\_\+disk\+\_\+serial\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the serial number of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gadeaf3b5742e781d2f66555d260527c88}{eeze\+\_\+disk\+\_\+uuid\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the U\+U\+I\+D of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga16e2f2777796ae92754e69a6be8561ed}{eeze\+\_\+disk\+\_\+label\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the label of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} \hyperlink{group__Eeze__Disk_ga9888e136840eac9133daaa93922b1bd8}{eeze\+\_\+disk\+\_\+type\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga1e0f57baf6785d20c00992108cbe8b2e}{eeze\+\_\+disk\+\_\+removable\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return whether the disk is removable. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga0b3d1965ff2f19665e37c3563dc23676}{eeze\+\_\+disk\+\_\+mounted\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount state of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga2cfb4f741dc8910d8fff7424613ea8f1}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Get the previously set mount wrapper for a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gabb5a0d965d915c2eb8d0ee26445dd62f}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$wrapper)
\begin{DoxyCompactList}\small\item\em Set a wrapper to run mount commands with. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin a mount operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}{eeze\+\_\+disk\+\_\+unmount} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an unmount operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}{eeze\+\_\+disk\+\_\+eject} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an eject operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}{eeze\+\_\+disk\+\_\+cancel} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Cancel a pending operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga1c1cca80428c831df36d1f7deac28842}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount point of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$mount\+\_\+point)
\begin{DoxyCompactList}\small\item\em Set the mount point of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gac0ba60f4ec9f7e2e871010baf52010c3}{eeze\+\_\+disk\+\_\+mountopts\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, unsigned long opts)
\begin{DoxyCompactList}\small\item\em Set the mount options using flags. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} unsigned long \hyperlink{group__Eeze__Disk_gac63e6089bc00b8faa1188e252291f795}{eeze\+\_\+disk\+\_\+mountopts\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Get the flags of a disk's current mount options. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch} (void)
\begin{DoxyCompactList}\small\item\em Begin watching mtab and fstab. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga915b0c6e0c38d3e0b9e5bc9c0625b553}{eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch} (void)
\begin{DoxyCompactList}\small\item\em Stop watching /etc/fstab and /etc/mtab. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/mtab a single time. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/fstab a single time. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga622d5d5ff22655151a138443c7d99f5b}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$property)
\begin{DoxyCompactList}\small\item\em Get the property value of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga4a0eddb5174cf00e476ff8010f19dc13}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$sysattr)
\begin{DoxyCompactList}\small\item\em Get the sysattr value of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gac3e7c8508105ffb6cbe7fe3aa6f690e4}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Find the root device of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga54a32542ea3814a66298e07ff074d45d}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$sysattr, const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Walks up the device chain using the device from {\ttfamily disk}, checking each device for {\ttfamily sysattr} with (optional) {\ttfamily value}. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gaac50a02521d8d74f03a1bb1adb516a97}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$sysattr)
\begin{DoxyCompactList}\small\item\em Walks up the device chain of {\ttfamily disk} checking each device for {\ttfamily sysattr} and returns the value if found. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Eeze__Disk_ga5f25165f187b00ce9395941d7341cfc1}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T}}\label{group__Eeze__Disk_ga5f25165f187b00ce9395941d7341cfc1}

\item 
\hypertarget{group__Eeze__Disk_ga08b878393c29b7ef86e20787f6070002}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+U\+N\+M\+O\+U\+N\+T}}\label{group__Eeze__Disk_ga08b878393c29b7ef86e20787f6070002}

\item 
\hypertarget{group__Eeze__Disk_gab8ecb9a65b106861e285bc6639ea17bf}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+J\+E\+C\+T}}\label{group__Eeze__Disk_gab8ecb9a65b106861e285bc6639ea17bf}

\item 
\hypertarget{group__Eeze__Disk_gaf48f62035434516d4b418e8aa960a693}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+R\+R\+O\+R}}\label{group__Eeze__Disk_gaf48f62035434516d4b418e8aa960a693}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Scan and query information about disks. 

Manipulate them with moun, unmount and eject. 

\subsection{Typedef Documentation}
\hypertarget{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{\index{Disk@{Disk}!Eeze\+\_\+\+Disk@{Eeze\+\_\+\+Disk}}
\index{Eeze\+\_\+\+Disk@{Eeze\+\_\+\+Disk}!Disk@{Disk}}
\subsubsection[{Eeze\+\_\+\+Disk}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eeze\+\_\+\+Disk}}}\label{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
Handle for an Eeze Disk. \hypertarget{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{\index{Disk@{Disk}!Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error@{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}}
\index{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error@{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}!Disk@{Disk}}
\subsubsection[{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}}}\label{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
Contains the human readable error message. 

\subsection{Enumeration Type Documentation}
\hypertarget{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{\index{Disk@{Disk}!Eeze\+\_\+\+Disk\+\_\+\+Type@{Eeze\+\_\+\+Disk\+\_\+\+Type}}
\index{Eeze\+\_\+\+Disk\+\_\+\+Type@{Eeze\+\_\+\+Disk\+\_\+\+Type}!Disk@{Disk}}
\subsubsection[{Eeze\+\_\+\+Disk\+\_\+\+Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Eeze\+\_\+\+Disk\+\_\+\+Type}}}\label{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
All disk types known to Eeze. \begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N}!Disk@{Disk}}\index{Disk@{Disk}!E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N}}\item[{\em 
\hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}
}]type could not be determined \index{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L}!Disk@{Disk}}\index{Disk@{Disk}!E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L}}\item[{\em 
\hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}
}]internal drive \index{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+D\+R\+O\+M@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+D\+R\+O\+M}!Disk@{Disk}}\index{Disk@{Disk}!E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+D\+R\+O\+M@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+D\+R\+O\+M}}\item[{\em 
\hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+D\+R\+O\+M}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}
}]cdrom drive \index{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+B@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+B}!Disk@{Disk}}\index{Disk@{Disk}!E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+B@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+B}}\item[{\em 
\hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+B}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}
}]usb drive \index{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+A\+S\+H@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+A\+S\+H}!Disk@{Disk}}\index{Disk@{Disk}!E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+A\+S\+H@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+A\+S\+H}}\item[{\em 
\hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+A\+S\+H}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}
}]flash disk \end{description}
\end{Desc}
\hypertarget{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{\index{Disk@{Disk}!Eeze\+\_\+\+Mount\+\_\+\+Opts@{Eeze\+\_\+\+Mount\+\_\+\+Opts}}
\index{Eeze\+\_\+\+Mount\+\_\+\+Opts@{Eeze\+\_\+\+Mount\+\_\+\+Opts}!Disk@{Disk}}
\subsubsection[{Eeze\+\_\+\+Mount\+\_\+\+Opts}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Eeze\+\_\+\+Mount\+\_\+\+Opts}}}\label{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
All mount options known to Eeze. \begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D}!Disk@{Disk}}\index{Disk@{Disk}!E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D}}\item[{\em 
\hypertarget{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D}\label{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}
}]use current user's uid \index{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V}!Disk@{Disk}}\index{Disk@{Disk}!E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V@{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V}}\item[{\em 
\hypertarget{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V}\label{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}
}]\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{group__Eeze__Disk_ga295e4aa9899d8c841c8eab79c5e6b5bc}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+function@{eeze\+\_\+disk\+\_\+function}}
\index{eeze\+\_\+disk\+\_\+function@{eeze\+\_\+disk\+\_\+function}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+function}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eeze\+\_\+disk\+\_\+function (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga295e4aa9899d8c841c8eab79c5e6b5bc}


Use this function to determine whether your eeze is disk-\/capable. 

Since applications will die if they run/compile against a function that doesn't exist, if your application successfully runs/compiles with this function then you have eeze\+\_\+disk. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_ga195818042c4dabb7eeeb979fbcd484f7}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+can\+\_\+mount@{eeze\+\_\+disk\+\_\+can\+\_\+mount}}
\index{eeze\+\_\+disk\+\_\+can\+\_\+mount@{eeze\+\_\+disk\+\_\+can\+\_\+mount}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+can\+\_\+mount}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+can\+\_\+mount (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga195818042c4dabb7eeeb979fbcd484f7}


Return whether mount support is available in eeze. 

Use this function to determine whether your Eeze library was compiled with a mount binary available. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eeze__Disk_ga54ccd9241e67dcfcbb5828d0a5988005}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+can\+\_\+unmount@{eeze\+\_\+disk\+\_\+can\+\_\+unmount}}
\index{eeze\+\_\+disk\+\_\+can\+\_\+unmount@{eeze\+\_\+disk\+\_\+can\+\_\+unmount}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+can\+\_\+unmount}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+can\+\_\+unmount (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga54ccd9241e67dcfcbb5828d0a5988005}


Return whether unmount support is available in eeze. 

Use this function to determine whether your Eeze library was compiled with an unmount binary available. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eeze__Disk_ga088856faf582e9009385bb04899251e5}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+can\+\_\+eject@{eeze\+\_\+disk\+\_\+can\+\_\+eject}}
\index{eeze\+\_\+disk\+\_\+can\+\_\+eject@{eeze\+\_\+disk\+\_\+can\+\_\+eject}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+can\+\_\+eject}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+can\+\_\+eject (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga088856faf582e9009385bb04899251e5}


Return whether eject support is available in eeze. 

Use this function to determine whether your Eeze library was compiled with an eject binary available. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eeze__Disk_gaf8fa49e10d44cc10af4414eddecc7165}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+new@{eeze\+\_\+disk\+\_\+new}}
\index{eeze\+\_\+disk\+\_\+new@{eeze\+\_\+disk\+\_\+new}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eeze\+\_\+\+Disk}$\ast$ eeze\+\_\+disk\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gaf8fa49e10d44cc10af4414eddecc7165}


Create a new disk object from a /sys/ path or /dev/ path. 


\begin{DoxyParams}{Parameters}
{\em path} & The /sys/ or /dev path of the disk; C\+A\+N\+N\+O\+T be {\ttfamily N\+U\+L\+L}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new disk object
\end{DoxyReturn}
This function creates a new \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} from {\ttfamily path}. Note that this function does the minimal amount of work in order to save memory, and udev info about the disk is not retrieved in this call. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath(), E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+list\+\_\+append(), eina\+\_\+stringshare\+\_\+add(), eina\+\_\+stringshare\+\_\+del(), and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Disk_gac492d3a81ac236b97b11ce0b719f650b}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount@{eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount}}
\index{eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount@{eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eeze\+\_\+\+Disk}$\ast$ eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{mount\+\_\+point}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gac492d3a81ac236b97b11ce0b719f650b}


Create a new disk object from a mount point. 


\begin{DoxyParams}{Parameters}
{\em mount\+\_\+point} & The mount point of the disk; C\+A\+N\+N\+O\+T be {\ttfamily N\+U\+L\+L} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new disk object
\end{DoxyReturn}
This function creates a new \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} from {\ttfamily mount\+\_\+point}. Note that this function does the minimal amount of work in order to save memory, and udev info about the disk is not retrieved in this call. If the disk is not currently mounted, it must have an entry in /etc/fstab. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath(), E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+list\+\_\+append(), eina\+\_\+stringshare\+\_\+add(), eina\+\_\+stringshare\+\_\+del(), and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+free@{eeze\+\_\+disk\+\_\+free}}
\index{eeze\+\_\+disk\+\_\+free@{eeze\+\_\+disk\+\_\+free}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eeze\+\_\+disk\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}


Frees a disk object. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk object to free\\
\hline
\end{DoxyParams}
This call frees an \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}. Once freed, the disk can no longer be used. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References ecore\+\_\+exe\+\_\+kill(), eina\+\_\+list\+\_\+remove(), and eina\+\_\+strbuf\+\_\+free().

\hypertarget{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+scan@{eeze\+\_\+disk\+\_\+scan}}
\index{eeze\+\_\+disk\+\_\+scan@{eeze\+\_\+disk\+\_\+scan}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+scan}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eeze\+\_\+disk\+\_\+scan (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}


Retrieve all disk information. 


\begin{DoxyParams}{Parameters}
{\em disk} & Use this function to retrieve all of a disk's information at once, then use a \char`\"{}get\char`\"{} function to retrieve the value. Data retrieved in this call is cached, meaning that subsequent calls will return immediately without performing any work. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+stringshare\+\_\+del(), and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+data\+\_\+set@{eeze\+\_\+disk\+\_\+data\+\_\+set}}
\index{eeze\+\_\+disk\+\_\+data\+\_\+set@{eeze\+\_\+disk\+\_\+data\+\_\+set}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+data\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eeze\+\_\+disk\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}


Associate data with a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
{\em data} & The data\\
\hline
\end{DoxyParams}
Data can be associated with {\ttfamily disk} with this function. \begin{DoxySeeAlso}{See also}
\hyperlink{group__Eeze__Disk_ga7b4f00cbf710b6f3b203c44a2b941f3e}{eeze\+\_\+disk\+\_\+data\+\_\+get} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_ga7b4f00cbf710b6f3b203c44a2b941f3e}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+data\+\_\+get@{eeze\+\_\+disk\+\_\+data\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+data\+\_\+get@{eeze\+\_\+disk\+\_\+data\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+data\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void$\ast$ eeze\+\_\+disk\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga7b4f00cbf710b6f3b203c44a2b941f3e}


Retrieve data previously associated with a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data
\end{DoxyReturn}
Data that has been previously associated with {\ttfamily disk} is returned with this function. \begin{DoxySeeAlso}{See also}
\hyperlink{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}{eeze\+\_\+disk\+\_\+data\+\_\+set} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_gacfc7410df1de71cbcb071e1b79fc5d30}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+syspath\+\_\+get@{eeze\+\_\+disk\+\_\+syspath\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+syspath\+\_\+get@{eeze\+\_\+disk\+\_\+syspath\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+syspath\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+syspath\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gacfc7410df1de71cbcb071e1b79fc5d30}


Return the /sys/ path of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The /sys/ path
\end{DoxyReturn}
This retrieves the /sys/ path that udev associates with {\ttfamily disk}. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_ga93939eb0b573c9e354d568a6f63de9fe}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+devpath\+\_\+get@{eeze\+\_\+disk\+\_\+devpath\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+devpath\+\_\+get@{eeze\+\_\+disk\+\_\+devpath\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+devpath\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+devpath\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga93939eb0b573c9e354d568a6f63de9fe}


Return the /dev/ path of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The /dev/ path
\end{DoxyReturn}
This retrieves the /dev/ path that udev has created a device node at for {\ttfamily disk}. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


Referenced by eeze\+\_\+disk\+\_\+eject(), eeze\+\_\+disk\+\_\+mount(), eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get(), and eeze\+\_\+disk\+\_\+unmount().

\hypertarget{group__Eeze__Disk_ga9d986d92ee9d7fbf1d52537dd9a93f21}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+fstype\+\_\+get@{eeze\+\_\+disk\+\_\+fstype\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+fstype\+\_\+get@{eeze\+\_\+disk\+\_\+fstype\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+fstype\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+fstype\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga9d986d92ee9d7fbf1d52537dd9a93f21}


Return the filesystem of the disk (if known) 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The filesystem type
\end{DoxyReturn}
This retrieves the filesystem that the disk is using, or {\ttfamily N\+U\+L\+L} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


Referenced by eeze\+\_\+disk\+\_\+mount().

\hypertarget{group__Eeze__Disk_ga43bb7dd075e91be35cf44adf431d36bc}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+vendor\+\_\+get@{eeze\+\_\+disk\+\_\+vendor\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+vendor\+\_\+get@{eeze\+\_\+disk\+\_\+vendor\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+vendor\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+vendor\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga43bb7dd075e91be35cf44adf431d36bc}


Return the manufacturing vendor of the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The vendor
\end{DoxyReturn}
This retrieves the vendor which manufactured the disk, or {\ttfamily N\+U\+L\+L} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_ga4f885b8f5d2d64c45595599af915ec65}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+model\+\_\+get@{eeze\+\_\+disk\+\_\+model\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+model\+\_\+get@{eeze\+\_\+disk\+\_\+model\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+model\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+model\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga4f885b8f5d2d64c45595599af915ec65}


Return the model of the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The model
\end{DoxyReturn}
This retrieves the model of the disk, or {\ttfamily N\+U\+L\+L} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_gaae78365f537021967c2a0bd2709c658d}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+serial\+\_\+get@{eeze\+\_\+disk\+\_\+serial\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+serial\+\_\+get@{eeze\+\_\+disk\+\_\+serial\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+serial\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+serial\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gaae78365f537021967c2a0bd2709c658d}


Return the serial number of the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The serial number
\end{DoxyReturn}
This retrieves the serial number the disk, or {\ttfamily N\+U\+L\+L} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_gadeaf3b5742e781d2f66555d260527c88}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+uuid\+\_\+get@{eeze\+\_\+disk\+\_\+uuid\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+uuid\+\_\+get@{eeze\+\_\+disk\+\_\+uuid\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+uuid\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+uuid\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gadeaf3b5742e781d2f66555d260527c88}


Return the U\+U\+I\+D of the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The U\+U\+I\+D
\end{DoxyReturn}
This retrieves the U\+U\+I\+D of the disk, or {\ttfamily N\+U\+L\+L} if unknown. A U\+U\+I\+D is a 36 character (hopefully) unique identifier which can be used to store persistent information about a disk. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


Referenced by eeze\+\_\+disk\+\_\+mount(), and eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get().

\hypertarget{group__Eeze__Disk_ga16e2f2777796ae92754e69a6be8561ed}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+label\+\_\+get@{eeze\+\_\+disk\+\_\+label\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+label\+\_\+get@{eeze\+\_\+disk\+\_\+label\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+label\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+label\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga16e2f2777796ae92754e69a6be8561ed}


Return the label of the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The label
\end{DoxyReturn}
This retrieves the label (name) of the disk, or {\ttfamily N\+U\+L\+L} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


Referenced by eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get().

\hypertarget{group__Eeze__Disk_ga9888e136840eac9133daaa93922b1bd8}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+type\+\_\+get@{eeze\+\_\+disk\+\_\+type\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+type\+\_\+get@{eeze\+\_\+disk\+\_\+type\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+type\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eeze\+\_\+\+Disk\+\_\+\+Type} eeze\+\_\+disk\+\_\+type\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga9888e136840eac9133daaa93922b1bd8}


Return the \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} of the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The type
\end{DoxyReturn}
This retrieves the \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} of the disk. This call is useful for determining the bus that the disk is connected through. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N.

\hypertarget{group__Eeze__Disk_ga1e0f57baf6785d20c00992108cbe8b2e}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+removable\+\_\+get@{eeze\+\_\+disk\+\_\+removable\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+removable\+\_\+get@{eeze\+\_\+disk\+\_\+removable\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+removable\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+removable\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga1e0f57baf6785d20c00992108cbe8b2e}


Return whether the disk is removable. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if removable, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and eina\+\_\+stringshare\+\_\+del().

\hypertarget{group__Eeze__Disk_ga0b3d1965ff2f19665e37c3563dc23676}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mounted\+\_\+get@{eeze\+\_\+disk\+\_\+mounted\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+mounted\+\_\+get@{eeze\+\_\+disk\+\_\+mounted\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mounted\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+mounted\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga0b3d1965ff2f19665e37c3563dc23676}


Return the mount state of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The mount state
\end{DoxyReturn}
This returns the mounted state of the disk. {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if mounted, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eeze__Disk_ga2cfb4f741dc8910d8fff7424613ea8f1}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get@{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get@{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga2cfb4f741dc8910d8fff7424613ea8f1}


Get the previously set mount wrapper for a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The wrapper, or {\ttfamily N\+U\+L\+L} on failure.
\end{DoxyReturn}
This returns the wrapper previously set with eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_gabb5a0d965d915c2eb8d0ee26445dd62f}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set@{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set}}
\index{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set@{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{const char $\ast$}]{wrapper}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gabb5a0d965d915c2eb8d0ee26445dd62f}


Set a wrapper to run mount commands with. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk to wrap mount commands for \\
\hline
{\em wrapper} & The wrapper executable \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
Use this function to set up a wrapper for running mount/umount commands. The wrapper must N\+O\+T use any of the standard mount/umount error code return values, and it must return 0 on success. Note that this function will call stat() on {\ttfamily wrapper} if not {\ttfamily N\+U\+L\+L} to test for existence. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+stringshare\+\_\+del(), and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mount@{eeze\+\_\+disk\+\_\+mount}}
\index{eeze\+\_\+disk\+\_\+mount@{eeze\+\_\+disk\+\_\+mount}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mount}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+mount (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}


Begin a mount operation on the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if the operation was started, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This call is used to begin a mount operation on {\ttfamily disk}. The operation will run asynchronously in a pipe, emitting an E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T event with the disk object as its event on completion. If any errors are encountered, they will automatically logged to the eeze\+\_\+disk domain and an E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+R\+R\+O\+R event will be generated with an \hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error} struct as its event.

N\+O\+T\+E\+: The return value of this function does not in any way reflect the mount state of a disk. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References ecore\+\_\+exe\+\_\+run(), eeze\+\_\+disk\+\_\+devpath\+\_\+get(), eeze\+\_\+disk\+\_\+fstype\+\_\+get(), eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set(), E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V, E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D, eeze\+\_\+disk\+\_\+uuid\+\_\+get(), E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+list\+\_\+append(), eina\+\_\+strbuf\+\_\+append(), eina\+\_\+strbuf\+\_\+append\+\_\+printf(), eina\+\_\+strbuf\+\_\+new(), eina\+\_\+strbuf\+\_\+string\+\_\+free(), eina\+\_\+strbuf\+\_\+string\+\_\+get(), eina\+\_\+stringshare\+\_\+del(), E\+I\+N\+A\+\_\+\+T\+R\+U\+E, E\+R\+R, and I\+N\+F.

\hypertarget{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+unmount@{eeze\+\_\+disk\+\_\+unmount}}
\index{eeze\+\_\+disk\+\_\+unmount@{eeze\+\_\+disk\+\_\+unmount}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+unmount}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+unmount (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}


Begin an unmount operation on the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if the operation was started, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This call is used to begin an unmount operation on {\ttfamily disk}. The operation will run asynchronously in a pipe, emitting an E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+U\+N\+M\+O\+U\+N\+T event with the disk object as its event on completion. If any errors are encountered, they will automatically logged to the eeze\+\_\+disk domain and an E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+R\+R\+O\+R event will be generated with an \hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error} struct as its event.

N\+O\+T\+E\+: The return value of this function does not in any way reflect the mount state of a disk. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References ecore\+\_\+exe\+\_\+run(), eeze\+\_\+disk\+\_\+devpath\+\_\+get(), E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+list\+\_\+append(), eina\+\_\+strbuf\+\_\+append\+\_\+printf(), eina\+\_\+strbuf\+\_\+new(), eina\+\_\+strbuf\+\_\+string\+\_\+free(), eina\+\_\+strbuf\+\_\+string\+\_\+get(), E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and I\+N\+F.



Referenced by eeze\+\_\+disk\+\_\+eject().

\hypertarget{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+eject@{eeze\+\_\+disk\+\_\+eject}}
\index{eeze\+\_\+disk\+\_\+eject@{eeze\+\_\+disk\+\_\+eject}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+eject}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+eject (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}


Begin an eject operation on the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if the operation was started, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This call is used to begin an eject operation on {\ttfamily disk}. The operation will run asynchronously in a pipe, emitting an E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+J\+E\+C\+T event with the disk object as its event on completion. If any errors are encountered, they will automatically logged to the eeze\+\_\+disk domain and an E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+R\+R\+O\+R event will be generated with an \hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error} struct as its event.

N\+O\+T\+E\+: The return value of this function does not in any way reflect the mount state of a disk. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References ecore\+\_\+exe\+\_\+run(), eeze\+\_\+disk\+\_\+devpath\+\_\+get(), eeze\+\_\+disk\+\_\+unmount(), E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+list\+\_\+append(), eina\+\_\+strbuf\+\_\+append\+\_\+printf(), eina\+\_\+strbuf\+\_\+new(), eina\+\_\+strbuf\+\_\+string\+\_\+get(), E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and I\+N\+F.

\hypertarget{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+cancel@{eeze\+\_\+disk\+\_\+cancel}}
\index{eeze\+\_\+disk\+\_\+cancel@{eeze\+\_\+disk\+\_\+cancel}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+cancel}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eeze\+\_\+disk\+\_\+cancel (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}


Cancel a pending operation on the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk\\
\hline
\end{DoxyParams}
This function cancels the current pending operation on {\ttfamily disk} which was previously started with eeze\+\_\+disk\+\_\+mount or eeze\+\_\+disk\+\_\+unmount. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References ecore\+\_\+exe\+\_\+kill().

\hypertarget{group__Eeze__Disk_ga1c1cca80428c831df36d1f7deac28842}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get@{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get@{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga1c1cca80428c831df36d1f7deac28842}


Return the mount point of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The mount point
\end{DoxyReturn}
This function returns the mount point associated with {\ttfamily disk}. Note that to determine whether the disk is actually mounted, eeze\+\_\+disk\+\_\+mounted\+\_\+get should be used. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eeze\+\_\+disk\+\_\+devpath\+\_\+get(), eeze\+\_\+disk\+\_\+label\+\_\+get(), eeze\+\_\+disk\+\_\+uuid\+\_\+get(), and eina\+\_\+stringshare\+\_\+add().

\hypertarget{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set@{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set}}
\index{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set@{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{const char $\ast$}]{mount\+\_\+point}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}


Set the mount point of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
{\em mount\+\_\+point} & The mount point \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This function sets the mount point associated with {\ttfamily disk}. Note that to determine whether the disk is actually mounted, eeze\+\_\+disk\+\_\+mounted\+\_\+get should be used. Also note that this function cannot be used while the disk is mounted to avoid losing the current mount point. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.



Referenced by eeze\+\_\+disk\+\_\+mount().

\hypertarget{group__Eeze__Disk_gac0ba60f4ec9f7e2e871010baf52010c3}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mountopts\+\_\+set@{eeze\+\_\+disk\+\_\+mountopts\+\_\+set}}
\index{eeze\+\_\+disk\+\_\+mountopts\+\_\+set@{eeze\+\_\+disk\+\_\+mountopts\+\_\+set}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mountopts\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+mountopts\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{unsigned long}]{opts}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gac0ba60f4ec9f7e2e871010baf52010c3}


Set the mount options using flags. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
{\em opts} & An O\+Red set of \hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This function replaces the current mount opts of a disk with the ones in {\ttfamily opts}. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Disk_gac63e6089bc00b8faa1188e252291f795}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+mountopts\+\_\+get@{eeze\+\_\+disk\+\_\+mountopts\+\_\+get}}
\index{eeze\+\_\+disk\+\_\+mountopts\+\_\+get@{eeze\+\_\+disk\+\_\+mountopts\+\_\+get}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+mountopts\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} unsigned long eeze\+\_\+disk\+\_\+mountopts\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gac63e6089bc00b8faa1188e252291f795}


Get the flags of a disk's current mount options. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An O\+Red set of \hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts}, 0 on failure
\end{DoxyReturn}
This function returns the current mount opts of a disk. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{\index{Disk@{Disk}!eeze\+\_\+mount\+\_\+tabs\+\_\+watch@{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}}
\index{eeze\+\_\+mount\+\_\+tabs\+\_\+watch@{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+mount\+\_\+tabs\+\_\+watch (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}


Begin watching mtab and fstab. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if watching was started, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This function creates inotify watches on /etc/mtab and /etc/fstab and watches them for changes. This function should be used when expecting a lot of disk mounting/unmounting while you need disk data since it will automatically update certain necessary data instead of waiting. \begin{DoxySeeAlso}{See also}
\hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}, \hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+E\+R\+R\+O\+R, ecore\+\_\+file\+\_\+monitor\+\_\+add(), ecore\+\_\+main\+\_\+fd\+\_\+handler\+\_\+file\+\_\+add(), E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, E\+R\+R, and fcntl().

\hypertarget{group__Eeze__Disk_ga915b0c6e0c38d3e0b9e5bc9c0625b553}{\index{Disk@{Disk}!eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch@{eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch}}
\index{eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch@{eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga915b0c6e0c38d3e0b9e5bc9c0625b553}


Stop watching /etc/fstab and /etc/mtab. 

This function stops watching fstab and mtab. Data obtained previously will be saved. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References ecore\+\_\+file\+\_\+monitor\+\_\+del(), ecore\+\_\+main\+\_\+fd\+\_\+handler\+\_\+del(), and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{\index{Disk@{Disk}!eeze\+\_\+mount\+\_\+mtab\+\_\+scan@{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}}
\index{eeze\+\_\+mount\+\_\+mtab\+\_\+scan@{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+mount\+\_\+mtab\+\_\+scan (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}


Scan /etc/mtab a single time. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if mtab could be scanned, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This function is used to perform a single scan on /etc/mtab. It is used to gather information about mounted filesystems which can then be used with your \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} objects where appropriate. These files will automatically be scanned any time a mount point or mount state is requested unless eeze\+\_\+mount\+\_\+tabs\+\_\+watch has been called previously, in which case data is stored for use. If this function is called after eeze\+\_\+mount\+\_\+tabs\+\_\+watch, {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} will be returned. \begin{DoxySeeAlso}{See also}
\hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}, \hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{\index{Disk@{Disk}!eeze\+\_\+mount\+\_\+fstab\+\_\+scan@{eeze\+\_\+mount\+\_\+fstab\+\_\+scan}}
\index{eeze\+\_\+mount\+\_\+fstab\+\_\+scan@{eeze\+\_\+mount\+\_\+fstab\+\_\+scan}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+mount\+\_\+fstab\+\_\+scan}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+mount\+\_\+fstab\+\_\+scan (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}


Scan /etc/fstab a single time. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if mtab could be scanned, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
This function is used to perform a single scan on /etc/fstab. It is used to gather information about mounted filesystems which can then be used with your \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} objects where appropriate. These files will automatically be scanned any time a mount point or mount state is requested unless eeze\+\_\+mount\+\_\+tabs\+\_\+watch has been called previously, in which case data is stored for use. If this function is called after eeze\+\_\+mount\+\_\+tabs\+\_\+watch, {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} will be returned. \begin{DoxySeeAlso}{See also}
\hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}, \hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Disk_ga622d5d5ff22655151a138443c7d99f5b}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property@{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property}}
\index{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property@{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{const char $\ast$}]{property}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga622d5d5ff22655151a138443c7d99f5b}


Get the property value of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
{\em property} & The property to get; full list of these is a F\+I\+X\+M\+E \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the property or {\ttfamily N\+U\+L\+L} on failure. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eina\+\_\+stringshare\+\_\+add().

\hypertarget{group__Eeze__Disk_ga4a0eddb5174cf00e476ff8010f19dc13}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr@{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr}}
\index{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr@{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{const char $\ast$}]{sysattr}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga4a0eddb5174cf00e476ff8010f19dc13}


Get the sysattr value of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
{\em sysattr} & The sysattr to get; full list of these is a F\+I\+X\+M\+E \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the sysattr or {\ttfamily N\+U\+L\+L} on failure. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eina\+\_\+stringshare\+\_\+add().

\hypertarget{group__Eeze__Disk_gac3e7c8508105ffb6cbe7fe3aa6f690e4}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent@{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent}}
\index{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent@{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gac3e7c8508105ffb6cbe7fe3aa6f690e4}


Find the root device of a disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The syspath of the parent device
\end{DoxyReturn}
Return a stringshared syspath (/sys/\$syspath) for the parent device. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eina\+\_\+stringshare\+\_\+add(), and efl\+::eo\+::parent.

\hypertarget{group__Eeze__Disk_ga54a32542ea3814a66298e07ff074d45d}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr@{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr}}
\index{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr@{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{const char $\ast$}]{sysattr, }
\item[{const char $\ast$}]{value}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_ga54a32542ea3814a66298e07ff074d45d}


Walks up the device chain using the device from {\ttfamily disk}, checking each device for {\ttfamily sysattr} with (optional) {\ttfamily value}. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk to walk \\
\hline
{\em sysattr} & The attribute to find \\
\hline
{\em value} & O\+P\+T\+I\+O\+N\+A\+L\+: The value that {\ttfamily sysattr} should have, or {\ttfamily N\+U\+L\+L}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the sysattr (with value) is found, returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and efl\+::eo\+::parent.

\hypertarget{group__Eeze__Disk_gaac50a02521d8d74f03a1bb1adb516a97}{\index{Disk@{Disk}!eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr@{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr}}
\index{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr@{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr}!Disk@{Disk}}
\subsubsection[{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Disk} $\ast$}]{disk, }
\item[{const char $\ast$}]{sysattr}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Disk_gaac50a02521d8d74f03a1bb1adb516a97}


Walks up the device chain of {\ttfamily disk} checking each device for {\ttfamily sysattr} and returns the value if found. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
{\em sysattr} & The attribute to find\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The stringshared value of {\ttfamily sysattr} if found, or {\ttfamily N\+U\+L\+L}. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eina\+\_\+stringshare\+\_\+add(), and efl\+::eo\+::parent.

