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


Scan and query information about disks.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}}
\item 
struct \mbox{\hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}}
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eeze__Disk_gac6dd3330800f88a114499126a8883464}\label{group__Eeze__Disk_gac6dd3330800f88a114499126a8883464}} 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Mount}
\item 
\mbox{\Hypertarget{group__Eeze__Disk_gacabf466c09a394bbfaf5304f973ca3c8}\label{group__Eeze__Disk_gacabf466c09a394bbfaf5304f973ca3c8}} 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Unmount}
\item 
\mbox{\Hypertarget{group__Eeze__Disk_gaf9bdb9dad4d1c28a32030909e2bf6ecf}\label{group__Eeze__Disk_gaf9bdb9dad4d1c28a32030909e2bf6ecf}} 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Eject}
\item 
typedef struct \+\_\+\+Eeze\+\_\+\+Disk \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}}
\item 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}} \mbox{\hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}} \{ \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+UNKNOWN}} = 0
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+INTERNAL}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 0)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+CDROM}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 1)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+USB}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 2)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+FLASH}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 3)
 \}
\item 
enum \mbox{\hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts}} \{ \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+LOOP} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 1)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UTF8} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 2)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NOEXEC} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 3)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NOSUID} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 4)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+REMOUNT} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 5)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}{EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UID}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 6)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}{EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NODEV}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 7)
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI void \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\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 
EAPI \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga5c147ad9c1d2dc4dad04c2045a9dd1f2}{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 
EAPI \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga4f86f4abef7200b5b3696d0461f43498}{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 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}{eeze\+\_\+disk\+\_\+free}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Frees a disk object. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}{eeze\+\_\+disk\+\_\+scan}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve all disk information. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}{eeze\+\_\+disk\+\_\+data\+\_\+set}} (\mbox{\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 
EAPI void $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga40caebc7d021f048f1a7dd7c84e9b55a}{eeze\+\_\+disk\+\_\+data\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve data previously associated with a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga70adefa82ab70179305ca0f0579673f5}{eeze\+\_\+disk\+\_\+syspath\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /sys/ path of a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}{eeze\+\_\+disk\+\_\+devpath\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /dev/ path of a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaaa91bd28fd5845761641d3cd2cd2d280}{eeze\+\_\+disk\+\_\+fstype\+\_\+get}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga15c342f25196d93dc0335aa2dbe8fc43}{eeze\+\_\+disk\+\_\+vendor\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the manufacturing vendor of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga6f90280eb8b9c0ec0e4cca74884387c6}{eeze\+\_\+disk\+\_\+model\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the model of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga56b2dabc9c2fdb12848a81cff721306a}{eeze\+\_\+disk\+\_\+serial\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the serial number of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga5dd7f011d5960cd21360b8a0c9a223ff}{eeze\+\_\+disk\+\_\+uuid\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the UUID of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga338a87f3308b33ff3f3b7d69d3ccc035}{eeze\+\_\+disk\+\_\+label\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the label of the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}} \mbox{\hyperlink{group__Eeze__Disk_ga9888e136840eac9133daaa93922b1bd8}{eeze\+\_\+disk\+\_\+type\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}} of the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga1e0f57baf6785d20c00992108cbe8b2e}{eeze\+\_\+disk\+\_\+removable\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return whether the disk is removable. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga0b3d1965ff2f19665e37c3563dc23676}{eeze\+\_\+disk\+\_\+mounted\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount state of a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga29db5028074a5fe57e4edfeb02441e4e}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get}} (\mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gabb5a0d965d915c2eb8d0ee26445dd62f}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set}} (\mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin a mount operation on the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}{eeze\+\_\+disk\+\_\+unmount}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an unmount operation on the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}{eeze\+\_\+disk\+\_\+eject}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an eject operation on the disk. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}{eeze\+\_\+disk\+\_\+cancel}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Cancel a pending operation on the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaf1cae97477132ad414f4e34f24598f90}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount point of a disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set}} (\mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gac0ba60f4ec9f7e2e871010baf52010c3}{eeze\+\_\+disk\+\_\+mountopts\+\_\+set}} (\mbox{\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 
EAPI unsigned long \mbox{\hyperlink{group__Eeze__Disk_gac63e6089bc00b8faa1188e252291f795}{eeze\+\_\+disk\+\_\+mountopts\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Get the flags of a disk\textquotesingle{}s current mount options. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}} (void)
\begin{DoxyCompactList}\small\item\em Begin watching mtab and fstab. \end{DoxyCompactList}\item 
EAPI void \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/mtab a single time. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan}} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/fstab a single time. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga5cbe9fe2b7cfb5b0c12d68d57e0d68f1}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gafaf9ef8fc6e135f2970bdbaa9bef38e8}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga7c43095e6b8f4d4b21e51cc36e1acf00}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Find the root device of a disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga54a32542ea3814a66298e07ff074d45d}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaabcf3f60db81140623694222bb70c344}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr}} (\mbox{\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}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eeze__Disk_ga5f25165f187b00ce9395941d7341cfc1}\label{group__Eeze__Disk_ga5f25165f187b00ce9395941d7341cfc1}} 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+MOUNT}
\item 
\mbox{\Hypertarget{group__Eeze__Disk_ga08b878393c29b7ef86e20787f6070002}\label{group__Eeze__Disk_ga08b878393c29b7ef86e20787f6070002}} 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+UNMOUNT}
\item 
\mbox{\Hypertarget{group__Eeze__Disk_gab8ecb9a65b106861e285bc6639ea17bf}\label{group__Eeze__Disk_gab8ecb9a65b106861e285bc6639ea17bf}} 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+EJECT}
\item 
\mbox{\Hypertarget{group__Eeze__Disk_gaf48f62035434516d4b418e8aa960a693}\label{group__Eeze__Disk_gaf48f62035434516d4b418e8aa960a693}} 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+ERROR}
\end{DoxyCompactItemize}


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

Manipulate them with moun, unmount and eject. 

\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}\label{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}} 
\index{Disk@{Disk}!Eeze\_Disk@{Eeze\_Disk}}
\index{Eeze\_Disk@{Eeze\_Disk}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{Eeze\_Disk}{Eeze\_Disk}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}}}

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
Handle for an Eeze Disk. \mbox{\Hypertarget{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}\label{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}}
\doxysubsubsection{\texorpdfstring{Eeze\_Event\_Disk\_Error}{Eeze\_Event\_Disk\_Error}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}}}

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
Contains the human readable error message. 

\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}\label{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}} 
\index{Disk@{Disk}!Eeze\_Disk\_Type@{Eeze\_Disk\_Type}}
\index{Eeze\_Disk\_Type@{Eeze\_Disk\_Type}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{Eeze\_Disk\_Type}{Eeze\_Disk\_Type}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}}}

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
All disk types known to Eeze. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{EEZE\_DISK\_TYPE\_UNKNOWN@{EEZE\_DISK\_TYPE\_UNKNOWN}!Disk@{Disk}}\index{Disk@{Disk}!EEZE\_DISK\_TYPE\_UNKNOWN@{EEZE\_DISK\_TYPE\_UNKNOWN}}}\mbox{\Hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}} 
EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+UNKNOWN&type could not be determined \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EEZE\_DISK\_TYPE\_INTERNAL@{EEZE\_DISK\_TYPE\_INTERNAL}!Disk@{Disk}}\index{Disk@{Disk}!EEZE\_DISK\_TYPE\_INTERNAL@{EEZE\_DISK\_TYPE\_INTERNAL}}}\mbox{\Hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}} 
EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+INTERNAL&internal drive \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EEZE\_DISK\_TYPE\_CDROM@{EEZE\_DISK\_TYPE\_CDROM}!Disk@{Disk}}\index{Disk@{Disk}!EEZE\_DISK\_TYPE\_CDROM@{EEZE\_DISK\_TYPE\_CDROM}}}\mbox{\Hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}} 
EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+CDROM&cdrom drive \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EEZE\_DISK\_TYPE\_USB@{EEZE\_DISK\_TYPE\_USB}!Disk@{Disk}}\index{Disk@{Disk}!EEZE\_DISK\_TYPE\_USB@{EEZE\_DISK\_TYPE\_USB}}}\mbox{\Hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}} 
EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+USB&usb drive \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EEZE\_DISK\_TYPE\_FLASH@{EEZE\_DISK\_TYPE\_FLASH}!Disk@{Disk}}\index{Disk@{Disk}!EEZE\_DISK\_TYPE\_FLASH@{EEZE\_DISK\_TYPE\_FLASH}}}\mbox{\Hypertarget{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}\label{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}} 
EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+FLASH&flash disk \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}\label{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}} 
\index{Disk@{Disk}!Eeze\_Mount\_Opts@{Eeze\_Mount\_Opts}}
\index{Eeze\_Mount\_Opts@{Eeze\_Mount\_Opts}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{Eeze\_Mount\_Opts}{Eeze\_Mount\_Opts}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts}}}

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
All mount options known to Eeze. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{EEZE\_DISK\_MOUNTOPT\_UID@{EEZE\_DISK\_MOUNTOPT\_UID}!Disk@{Disk}}\index{Disk@{Disk}!EEZE\_DISK\_MOUNTOPT\_UID@{EEZE\_DISK\_MOUNTOPT\_UID}}}\mbox{\Hypertarget{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}\label{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}} 
EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UID&use current user\textquotesingle{}s uid \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EEZE\_DISK\_MOUNTOPT\_NODEV@{EEZE\_DISK\_MOUNTOPT\_NODEV}!Disk@{Disk}}\index{Disk@{Disk}!EEZE\_DISK\_MOUNTOPT\_NODEV@{EEZE\_DISK\_MOUNTOPT\_NODEV}}}\mbox{\Hypertarget{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}\label{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}} 
EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NODEV&\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eeze__Disk_ga295e4aa9899d8c841c8eab79c5e6b5bc}\label{group__Eeze__Disk_ga295e4aa9899d8c841c8eab79c5e6b5bc}} 
\index{Disk@{Disk}!eeze\_disk\_function@{eeze\_disk\_function}}
\index{eeze\_disk\_function@{eeze\_disk\_function}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_function()}{eeze\_disk\_function()}}
{\footnotesize\ttfamily EAPI void eeze\+\_\+disk\+\_\+function (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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

Since applications will die if they run/compile against a function that doesn\textquotesingle{}t exist, if your application successfully runs/compiles with this function then you have eeze\+\_\+disk. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\mbox{\Hypertarget{group__Eeze__Disk_ga195818042c4dabb7eeeb979fbcd484f7}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_can\_mount()}{eeze\_disk\_can\_mount()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+can\+\_\+mount (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga54ccd9241e67dcfcbb5828d0a5988005}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_can\_unmount()}{eeze\_disk\_can\_unmount()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+can\+\_\+unmount (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga088856faf582e9009385bb04899251e5}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_can\_eject()}{eeze\_disk\_can\_eject()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+can\+\_\+eject (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga5c147ad9c1d2dc4dad04c2045a9dd1f2}\label{group__Eeze__Disk_ga5c147ad9c1d2dc4dad04c2045a9dd1f2}} 
\index{Disk@{Disk}!eeze\_disk\_new@{eeze\_disk\_new}}
\index{eeze\_disk\_new@{eeze\_disk\_new}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_new()}{eeze\_disk\_new()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$ eeze\+\_\+disk\+\_\+new (\begin{DoxyParamCaption}\item[{const char $\ast$}]{path }\end{DoxyParamCaption})}



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; CANNOT be {\ttfamily NULL}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new disk object
\end{DoxyReturn}
This function creates a new \mbox{\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 \mbox{\hyperlink{group__Eeze__Syspath_gaa66d998e533fcc49ffb21c60ceb36ce1}{eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga4f86f4abef7200b5b3696d0461f43498}\label{group__Eeze__Disk_ga4f86f4abef7200b5b3696d0461f43498}} 
\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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_new\_from\_mount()}{eeze\_disk\_new\_from\_mount()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$ eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount (\begin{DoxyParamCaption}\item[{const char $\ast$}]{mount\+\_\+point }\end{DoxyParamCaption})}



Create a new disk object from a mount point. 


\begin{DoxyParams}{Parameters}
{\em mount\+\_\+point} & The mount point of the disk; CANNOT be {\ttfamily NULL} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new disk object
\end{DoxyReturn}
This function creates a new \mbox{\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 \mbox{\hyperlink{group__Eeze__Syspath_gaa66d998e533fcc49ffb21c60ceb36ce1}{eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}\label{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}} 
\index{Disk@{Disk}!eeze\_disk\_free@{eeze\_disk\_free}}
\index{eeze\_disk\_free@{eeze\_disk\_free}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_free()}{eeze\_disk\_free()}}
{\footnotesize\ttfamily EAPI void eeze\+\_\+disk\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Frees a disk object. 


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


References \mbox{\hyperlink{group__Ecore__Exe__Group_ga33305587a363c6f43bff032f94df6e16}{ecore\+\_\+exe\+\_\+kill()}}, \mbox{\hyperlink{group__Eina__List__Group_ga6e81c26272c54177d087b29c965af4d8}{eina\+\_\+list\+\_\+remove()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga88d8da6589bad44714ad9e47aaa1992b}{eina\+\_\+strbuf\+\_\+free()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}\label{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}} 
\index{Disk@{Disk}!eeze\_disk\_scan@{eeze\_disk\_scan}}
\index{eeze\_disk\_scan@{eeze\_disk\_scan}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_scan()}{eeze\_disk\_scan()}}
{\footnotesize\ttfamily EAPI void eeze\+\_\+disk\+\_\+scan (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Retrieve all disk information. 


\begin{DoxyParams}{Parameters}
{\em disk} & \\
\hline
\end{DoxyParams}
Use this function to retrieve all of a disk\textquotesingle{}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. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_data\_set()}{eeze\_disk\_data\_set()}}
{\footnotesize\ttfamily EAPI void eeze\+\_\+disk\+\_\+data\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Eeze__Disk_ga40caebc7d021f048f1a7dd7c84e9b55a}{eeze\+\_\+disk\+\_\+data\+\_\+get}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga40caebc7d021f048f1a7dd7c84e9b55a}\label{group__Eeze__Disk_ga40caebc7d021f048f1a7dd7c84e9b55a}} 
\index{Disk@{Disk}!eeze\_disk\_data\_get@{eeze\_disk\_data\_get}}
\index{eeze\_disk\_data\_get@{eeze\_disk\_data\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_data\_get()}{eeze\_disk\_data\_get()}}
{\footnotesize\ttfamily EAPI void $\ast$ eeze\+\_\+disk\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}{eeze\+\_\+disk\+\_\+data\+\_\+set}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga70adefa82ab70179305ca0f0579673f5}\label{group__Eeze__Disk_ga70adefa82ab70179305ca0f0579673f5}} 
\index{Disk@{Disk}!eeze\_disk\_syspath\_get@{eeze\_disk\_syspath\_get}}
\index{eeze\_disk\_syspath\_get@{eeze\_disk\_syspath\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_syspath\_get()}{eeze\_disk\_syspath\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+syspath\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}\label{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}} 
\index{Disk@{Disk}!eeze\_disk\_devpath\_get@{eeze\_disk\_devpath\_get}}
\index{eeze\_disk\_devpath\_get@{eeze\_disk\_devpath\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_devpath\_get()}{eeze\_disk\_devpath\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+devpath\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}{eeze\+\_\+disk\+\_\+eject()}}, \mbox{\hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount()}}, \mbox{\hyperlink{group__Eeze__Disk_gaf1cae97477132ad414f4e34f24598f90}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get()}}, and \mbox{\hyperlink{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}{eeze\+\_\+disk\+\_\+unmount()}}.

\mbox{\Hypertarget{group__Eeze__Disk_gaaa91bd28fd5845761641d3cd2cd2d280}\label{group__Eeze__Disk_gaaa91bd28fd5845761641d3cd2cd2d280}} 
\index{Disk@{Disk}!eeze\_disk\_fstype\_get@{eeze\_disk\_fstype\_get}}
\index{eeze\_disk\_fstype\_get@{eeze\_disk\_fstype\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_fstype\_get()}{eeze\_disk\_fstype\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+fstype\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 NULL} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga15c342f25196d93dc0335aa2dbe8fc43}\label{group__Eeze__Disk_ga15c342f25196d93dc0335aa2dbe8fc43}} 
\index{Disk@{Disk}!eeze\_disk\_vendor\_get@{eeze\_disk\_vendor\_get}}
\index{eeze\_disk\_vendor\_get@{eeze\_disk\_vendor\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_vendor\_get()}{eeze\_disk\_vendor\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+vendor\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 NULL} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga6f90280eb8b9c0ec0e4cca74884387c6}\label{group__Eeze__Disk_ga6f90280eb8b9c0ec0e4cca74884387c6}} 
\index{Disk@{Disk}!eeze\_disk\_model\_get@{eeze\_disk\_model\_get}}
\index{eeze\_disk\_model\_get@{eeze\_disk\_model\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_model\_get()}{eeze\_disk\_model\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+model\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 NULL} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga56b2dabc9c2fdb12848a81cff721306a}\label{group__Eeze__Disk_ga56b2dabc9c2fdb12848a81cff721306a}} 
\index{Disk@{Disk}!eeze\_disk\_serial\_get@{eeze\_disk\_serial\_get}}
\index{eeze\_disk\_serial\_get@{eeze\_disk\_serial\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_serial\_get()}{eeze\_disk\_serial\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+serial\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 NULL} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga5dd7f011d5960cd21360b8a0c9a223ff}\label{group__Eeze__Disk_ga5dd7f011d5960cd21360b8a0c9a223ff}} 
\index{Disk@{Disk}!eeze\_disk\_uuid\_get@{eeze\_disk\_uuid\_get}}
\index{eeze\_disk\_uuid\_get@{eeze\_disk\_uuid\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_uuid\_get()}{eeze\_disk\_uuid\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+uuid\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Return the UUID of the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The UUID
\end{DoxyReturn}
This retrieves the UUID of the disk, or {\ttfamily NULL} if unknown. A UUID 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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount()}}, and \mbox{\hyperlink{group__Eeze__Disk_gaf1cae97477132ad414f4e34f24598f90}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga338a87f3308b33ff3f3b7d69d3ccc035}\label{group__Eeze__Disk_ga338a87f3308b33ff3f3b7d69d3ccc035}} 
\index{Disk@{Disk}!eeze\_disk\_label\_get@{eeze\_disk\_label\_get}}
\index{eeze\_disk\_label\_get@{eeze\_disk\_label\_get}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_label\_get()}{eeze\_disk\_label\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+label\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 NULL} if unknown. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Eeze__Disk_gaf1cae97477132ad414f4e34f24598f90}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga9888e136840eac9133daaa93922b1bd8}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_type\_get()}{eeze\_disk\_type\_get()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}} eeze\+\_\+disk\+\_\+type\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Return the \mbox{\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 \mbox{\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 \mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+UNKNOWN}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga1e0f57baf6785d20c00992108cbe8b2e}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_removable\_get()}{eeze\_disk\_removable\_get()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+removable\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Return whether the disk is removable. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if removable, {\ttfamily EINA\+\_\+\+FALSE} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga0b3d1965ff2f19665e37c3563dc23676}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mounted\_get()}{eeze\_disk\_mounted\_get()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+mounted\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} if mounted, {\ttfamily EINA\+\_\+\+FALSE} otherwise. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga29db5028074a5fe57e4edfeb02441e4e}\label{group__Eeze__Disk_ga29db5028074a5fe57e4edfeb02441e4e}} 
\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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mount\_wrapper\_get()}{eeze\_disk\_mount\_wrapper\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 NULL} on failure.
\end{DoxyReturn}
This returns the wrapper previously set with eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_gabb5a0d965d915c2eb8d0ee26445dd62f}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mount\_wrapper\_set()}{eeze\_disk\_mount\_wrapper\_set()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{const char $\ast$}]{wrapper }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise.
\end{DoxyReturn}
Use this function to set up a wrapper for running mount/umount commands. The wrapper must NOT 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 NULL} to test for existence. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}\label{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}} 
\index{Disk@{Disk}!eeze\_disk\_mount@{eeze\_disk\_mount}}
\index{eeze\_disk\_mount@{eeze\_disk\_mount}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mount()}{eeze\_disk\_mount()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+mount (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Begin a mount operation on the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the operation was started, {\ttfamily EINA\+\_\+\+FALSE} 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 EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+MOUNT 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 EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+ERROR event will be generated with an \mbox{\hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}} struct as its event.

NOTE\+: 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 \mbox{\hyperlink{group__Ecore__Exe__Group_ga2fd43adc776de05518179139308fd37e}{ecore\+\_\+exe\+\_\+run()}}, \mbox{\hyperlink{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}{eeze\+\_\+disk\+\_\+devpath\+\_\+get()}}, \mbox{\hyperlink{group__Eeze__Disk_gaaa91bd28fd5845761641d3cd2cd2d280}{eeze\+\_\+disk\+\_\+fstype\+\_\+get()}}, \mbox{\hyperlink{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set()}}, \mbox{\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}{EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NODEV}}, \mbox{\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}{EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UID}}, \mbox{\hyperlink{group__Eeze__Disk_ga5dd7f011d5960cd21360b8a0c9a223ff}{eeze\+\_\+disk\+\_\+uuid\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gad476e89a04c3f1571e3628facd4319bb}{eina\+\_\+strbuf\+\_\+append()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga13277ebcc07defa040d6e92f22774031}{eina\+\_\+strbuf\+\_\+new()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gaa4193180f6805fff997cd7d1ed66683c}{eina\+\_\+strbuf\+\_\+string\+\_\+free()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\+\_\+strbuf\+\_\+string\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}\label{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}} 
\index{Disk@{Disk}!eeze\_disk\_unmount@{eeze\_disk\_unmount}}
\index{eeze\_disk\_unmount@{eeze\_disk\_unmount}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_unmount()}{eeze\_disk\_unmount()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+unmount (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Begin an unmount operation on the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the operation was started, {\ttfamily EINA\+\_\+\+FALSE} 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 EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+UNMOUNT 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 EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+ERROR event will be generated with an \mbox{\hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}} struct as its event.

NOTE\+: 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 \mbox{\hyperlink{group__Ecore__Exe__Group_ga2fd43adc776de05518179139308fd37e}{ecore\+\_\+exe\+\_\+run()}}, \mbox{\hyperlink{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}{eeze\+\_\+disk\+\_\+devpath\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga13277ebcc07defa040d6e92f22774031}{eina\+\_\+strbuf\+\_\+new()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gaa4193180f6805fff997cd7d1ed66683c}{eina\+\_\+strbuf\+\_\+string\+\_\+free()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\+\_\+strbuf\+\_\+string\+\_\+get()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}{eeze\+\_\+disk\+\_\+eject()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}\label{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}} 
\index{Disk@{Disk}!eeze\_disk\_eject@{eeze\_disk\_eject}}
\index{eeze\_disk\_eject@{eeze\_disk\_eject}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_eject()}{eeze\_disk\_eject()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+eject (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Begin an eject operation on the disk. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the operation was started, {\ttfamily EINA\+\_\+\+FALSE} 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 EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+EJECT 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 EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+ERROR event will be generated with an \mbox{\hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}} struct as its event.

NOTE\+: 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 \mbox{\hyperlink{group__Ecore__Exe__Group_ga2fd43adc776de05518179139308fd37e}{ecore\+\_\+exe\+\_\+run()}}, \mbox{\hyperlink{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}{eeze\+\_\+disk\+\_\+devpath\+\_\+get()}}, \mbox{\hyperlink{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}{eeze\+\_\+disk\+\_\+unmount()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga13277ebcc07defa040d6e92f22774031}{eina\+\_\+strbuf\+\_\+new()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\+\_\+strbuf\+\_\+string\+\_\+get()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}\label{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}} 
\index{Disk@{Disk}!eeze\_disk\_cancel@{eeze\_disk\_cancel}}
\index{eeze\_disk\_cancel@{eeze\_disk\_cancel}!Disk@{Disk}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_cancel()}{eeze\_disk\_cancel()}}
{\footnotesize\ttfamily EAPI void eeze\+\_\+disk\+\_\+cancel (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Ecore__Exe__Group_ga33305587a363c6f43bff032f94df6e16}{ecore\+\_\+exe\+\_\+kill()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Eeze__Disk_gaf1cae97477132ad414f4e34f24598f90}\label{group__Eeze__Disk_gaf1cae97477132ad414f4e34f24598f90}} 
\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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mount\_point\_get()}{eeze\_disk\_mount\_point\_get()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}{eeze\+\_\+disk\+\_\+devpath\+\_\+get()}}, \mbox{\hyperlink{group__Eeze__Disk_ga338a87f3308b33ff3f3b7d69d3ccc035}{eeze\+\_\+disk\+\_\+label\+\_\+get()}}, \mbox{\hyperlink{group__Eeze__Disk_ga5dd7f011d5960cd21360b8a0c9a223ff}{eeze\+\_\+disk\+\_\+uuid\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mount\_point\_set()}{eeze\_disk\_mount\_point\_set()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{const char $\ast$}]{mount\+\_\+point }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} 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 \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount()}}.

\mbox{\Hypertarget{group__Eeze__Disk_gac0ba60f4ec9f7e2e871010baf52010c3}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mountopts\_set()}{eeze\_disk\_mountopts\_set()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+mountopts\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{unsigned long}]{opts }\end{DoxyParamCaption})}



Set the mount options using flags. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
{\em opts} & An ORed set of \mbox{\hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts}} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} 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 \mbox{\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}{EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UID}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_gac63e6089bc00b8faa1188e252291f795}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_mountopts\_get()}{eeze\_disk\_mountopts\_get()}}
{\footnotesize\ttfamily EAPI unsigned long eeze\+\_\+disk\+\_\+mountopts\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



Get the flags of a disk\textquotesingle{}s current mount options. 


\begin{DoxyParams}{Parameters}
{\em disk} & The disk \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An ORed set of \mbox{\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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_mount\_tabs\_watch()}{eeze\_mount\_tabs\_watch()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+mount\+\_\+tabs\+\_\+watch (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Begin watching mtab and fstab. 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if watching was started, {\ttfamily EINA\+\_\+\+FALSE} 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}
\mbox{\hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}}, \mbox{\hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__FD__Handler__Group_ggab5644f471dfa3bd182619601d9b60608a829d91235e3ca5eba61330c96a8074de}{ECORE\+\_\+\+FD\+\_\+\+ERROR}}, \mbox{\hyperlink{group__Ecore__File__Group_gaa0f896f1283c5c81a5dca32862ab0583}{ecore\+\_\+file\+\_\+monitor\+\_\+add()}}, \mbox{\hyperlink{group__Ecore__FD__Handler__Group_ga55d216004bd9682cce882c01feb8e90d}{ecore\+\_\+main\+\_\+fd\+\_\+handler\+\_\+file\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{group__Evil_ga454bde45f2e42a909a704d160869aad5}{fcntl()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga915b0c6e0c38d3e0b9e5bc9c0625b553}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_mount\_tabs\_unwatch()}{eeze\_mount\_tabs\_unwatch()}}
{\footnotesize\ttfamily EAPI void eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Ecore__File__Group_ga6f24ef6d605732ea1b10626efb3f07da}{ecore\+\_\+file\+\_\+monitor\+\_\+del()}}, \mbox{\hyperlink{group__Ecore__FD__Handler__Group_ga259d711cf297b5c2c9dc223005fec583}{ecore\+\_\+main\+\_\+fd\+\_\+handler\+\_\+del()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_mount\_mtab\_scan()}{eeze\_mount\_mtab\_scan()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+mount\+\_\+mtab\+\_\+scan (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Scan /etc/mtab a single time. 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if mtab could be scanned, {\ttfamily EINA\+\_\+\+FALSE} 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 \mbox{\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 EINA\+\_\+\+TRUE} will be returned. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}}, \mbox{\hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_mount\_fstab\_scan()}{eeze\_mount\_fstab\_scan()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+mount\+\_\+fstab\+\_\+scan (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Scan /etc/fstab a single time. 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if mtab could be scanned, {\ttfamily EINA\+\_\+\+FALSE} 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 \mbox{\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 EINA\+\_\+\+TRUE} will be returned. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}}, \mbox{\hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga5cbe9fe2b7cfb5b0c12d68d57e0d68f1}\label{group__Eeze__Disk_ga5cbe9fe2b7cfb5b0c12d68d57e0d68f1}} 
\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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_udev\_get\_property()}{eeze\_disk\_udev\_get\_property()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{const char $\ast$}]{property }\end{DoxyParamCaption})}



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 FIXME \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the property or {\ttfamily NULL} on failure. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Disk_gafaf9ef8fc6e135f2970bdbaa9bef38e8}\label{group__Eeze__Disk_gafaf9ef8fc6e135f2970bdbaa9bef38e8}} 
\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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_udev\_get\_sysattr()}{eeze\_disk\_udev\_get\_sysattr()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{const char $\ast$}]{sysattr }\end{DoxyParamCaption})}



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 FIXME \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the sysattr or {\ttfamily NULL} on failure. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga7c43095e6b8f4d4b21e51cc36e1acf00}\label{group__Eeze__Disk_ga7c43095e6b8f4d4b21e51cc36e1acf00}} 
\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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_udev\_get\_parent()}{eeze\_disk\_udev\_get\_parent()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Disk_ga54a32542ea3814a66298e07ff074d45d}\label{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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_udev\_walk\_check\_sysattr()}{eeze\_disk\_udev\_walk\_check\_sysattr()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{const char $\ast$}]{sysattr,  }\item[{const char $\ast$}]{value }\end{DoxyParamCaption})}



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} & OPTIONAL\+: The value that {\ttfamily sysattr} should have, or {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the sysattr (with value) is found, returns {\ttfamily EINA\+\_\+\+TRUE}, {\ttfamily EINA\+\_\+\+FALSE} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Disk_gaabcf3f60db81140623694222bb70c344}\label{group__Eeze__Disk_gaabcf3f60db81140623694222bb70c344}} 
\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}}
\doxysubsubsection{\texorpdfstring{eeze\_disk\_udev\_walk\_get\_sysattr()}{eeze\_disk\_udev\_walk\_get\_sysattr()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$}]{disk,  }\item[{const char $\ast$}]{sysattr }\end{DoxyParamCaption})}



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 NULL}. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

