</head>

<body>

<div class="para func">
<h2>f_mkfs</h2>
<p>The f_mkfs fucntion creates an FAT/exFAT volume on the logical drive.</p>
<pre>
FRESULT f_mkfs (
  const TCHAR* <span class="arg">path</span>,  <span class="c">/* [IN] Logical drive number */</span>
  BYTE  <span class="arg">opt</span>,          <span class="c">/* [IN] Format options */</span>
  DWORD <span class="arg">au</span>,           <span class="c">/* [IN] Size of the allocation unit */</span>
  void* <span class="arg">work</span