74 lines
3.7 KiB
HTML
74 lines
3.7 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|||
|
<html lang="ja">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
|||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|||
|
<link rel="up" title="FatFs" href="../00index_j.html">
|
|||
|
<link rel="alternate" hreflang="en" title="English" href="../en/mkfs.html">
|
|||
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|||
|
<title>FatFs - f_mkfs</title>
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
|
|||
|
<div class="para func">
|
|||
|
<h2>f_mkfs</h2>
|
|||
|
<p><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD>FAT<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>쐬(<28>t<EFBFBD>H<EFBFBD>[<5B>}<7D>b<EFBFBD>g)<29><><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
<pre>
|
|||
|
FRESULT f_mkfs (
|
|||
|
const TCHAR* <span class="arg">path</span>, <span class="c">/* [IN] <20>_<EFBFBD><5F><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>ԍ<EFBFBD> */</span>
|
|||
|
BYTE <span class="arg">sfd</span>, <span class="c">/* [IN] <20><><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>@ */</span>
|
|||
|
UINT <span class="arg">au</span> <span class="c">/* [IN] <20>N<EFBFBD><4E><EFBFBD>X<EFBFBD>E<EFBFBD>^<5E>T<EFBFBD>C<EFBFBD>Y */</span>
|
|||
|
);
|
|||
|
</pre>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="para arg">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<dl class="par">
|
|||
|
<dt>path</dt>
|
|||
|
<dd><EFBFBD>t<EFBFBD>H<EFBFBD>[<5B>}<7D>b<EFBFBD>g<EFBFBD>Ώۂ̘_<CC98><5F><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="filename.html"><EFBFBD>p<EFBFBD>X<EFBFBD><EFBFBD></a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>k<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><tt>'\0'</tt><EFBFBD>I<EFBFBD>[<5B>̕<EFBFBD><CC95><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>ԍ<EFBFBD><D48D><EFBFBD><EFBFBD>܂܂Ȃ<DC82><C882>ꍇ<EFBFBD>́A<CD81>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD>Ӗ<EFBFBD><D396><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|||
|
<dt>sfd</dt>
|
|||
|
<dd><EFBFBD>p<EFBFBD>[<5B>e<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>`<60><><EFBFBD>B(0(FDISK) <20>܂<EFBFBD><DC82><EFBFBD> 1(SFD))</dd>
|
|||
|
<dt>au</dt>
|
|||
|
<dd><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD><59><EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>P<EFBFBD>ʂŎw<C58E>肵<EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>Ώۃh<DB83><68><EFBFBD>C<EFBFBD>u<EFBFBD>̃Z<CC83>N<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD><59>n<EFBFBD>{(n = 1<>`128<32>ŁA2<41>̗ݏ<CC97>)<29>łȂ<C582><C882><EFBFBD><EFBFBD>Ȃ<CE82><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B0<42><30><EFBFBD>w<EFBFBD>肵<EFBFBD><E882B5><EFBFBD>ꍇ<EFBFBD>A<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>̃T<CC83>C<EFBFBD>Y<EFBFBD>ɉ<EFBFBD><C989><EFBFBD><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>g<EFBFBD>̃N<CC83><4E><EFBFBD>X<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD><59><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="para ret">
|
|||
|
<h4><EFBFBD>߂<EFBFBD><EFBFBD>l</h4>
|
|||
|
<p>
|
|||
|
<a href="rc.html#ok">FR_OK</a>,
|
|||
|
<a href="rc.html#de">FR_DISK_ERR</a>,
|
|||
|
<a href="rc.html#nr">FR_NOT_READY</a>,
|
|||
|
<a href="rc.html#ne">FR_NOT_ENABLED</a>,
|
|||
|
<a href="rc.html#ma">FR_MKFS_ABORTED</a>,
|
|||
|
<a href="rc.html#ip">FR_INVALID_PARAMETER</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="para desc">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD>FAT<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>BFDISK<53>`<60><><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>肳<EFBFBD>ꂽ<EFBFBD>ꍇ<EFBFBD>́A<CD81><41><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>S<EFBFBD>̂<EFBFBD><CC82><EFBFBD><EFBFBD>߂<EFBFBD><DF82><EFBFBD><EFBFBD>{<7B><><EFBFBD><EFBFBD>(<28>p<EFBFBD>[<5B>e<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD>)<29><><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD>̒<EFBFBD><CC92><EFBFBD>FAT<41>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>BSFD<46>`<60><><EFBFBD>ł́AFAT<41>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>̐擪<CC90>Z<EFBFBD>N<EFBFBD>^<5E><><EFBFBD><EFBFBD><EFBFBD>x<EFBFBD>^<5E>ō쐬<C58D><EC90AC><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
<p><EFBFBD>t<EFBFBD>H<EFBFBD>[<5B>}<7D>b<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD>}<7D><><EFBFBD>`<60>E<EFBFBD>p<EFBFBD>[<5B>e<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>@<40>\(<tt>_MULTI_PARTITION</tt>)<29>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>ē<EFBFBD><C493><EFBFBD><EFBFBD>̋<EFBFBD><CC8B><EFBFBD>(1<>`4)<29>Ɍ<EFBFBD><C98C>ѕt<D195><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>ꍇ<EFBFBD>́A<CD81><41><EFBFBD>̋<EFBFBD><CC8B><EFBFBD><EFBFBD>̒<EFBFBD><CC92><EFBFBD>FAT<41>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<tt class="arg">sfd</tt><EFBFBD>͖<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>܂<EFBFBD><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD>镨<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD>͂<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɐ旧<EFBFBD><EFBFBD><EFBFBD>A<tt>f_fdisk()</tt><EFBFBD>܂<EFBFBD><EFBFBD>͑<EFBFBD><EFBFBD>̃c<EFBFBD>[<5B><><EFBFBD>œK<C593>ɋ<D882><C98B><EFBFBD><EFBFBD>ݒ肳<DD92><E882B3><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
<p><EFBFBD>p<EFBFBD>[<5B>e<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>`<60><><EFBFBD>ɂ́AFDISK<53>`<60><><EFBFBD><EFBFBD>SFD<46>`<60><><EFBFBD>̓<EFBFBD><CC93>ʂ肠<CA82><E882A0><EFBFBD>܂<EFBFBD><DC82>BFDISK<53>`<60><><EFBFBD>́A<CD81>n<EFBFBD>[<5B>h<EFBFBD>f<EFBFBD>B<EFBFBD>X<EFBFBD>N<EFBFBD>AMMC<4D>ASDC<44>ACFC<46>AU Disk<73>ȂǂŕW<C595><57><EFBFBD>I<EFBFBD>Ɏg<C98E>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>BFDISK<53>`<60><><EFBFBD>ł͈<C582><CD88><EFBFBD><EFBFBD>̕<EFBFBD><CC95><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD>Ɉ<EFBFBD><C988>܂<C282><DC82>͕<EFBFBD><CD95><EFBFBD><EFBFBD>̋<EFBFBD><CC8B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>邱<EFBFBD>Ƃ<EFBFBD><C682>ł<EFBFBD><C582>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD>Ǘ<EFBFBD><C797><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MBR(<28><><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>̐擪<CC90>Z<EFBFBD>N<EFBFBD>^)<29>ɋL<C98B>^<5E><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>BSFD<46>`<60><><EFBFBD>͒P<CD92>ɉ<EFBFBD><C989>̕<EFBFBD><CC95><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>Ȃ<EFBFBD><C882>`<60><><EFBFBD>ŁA<C581>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>͕<EFBFBD><CD95><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>̐擪<CC90>Z<EFBFBD>N<EFBFBD>^<5E><><EFBFBD><EFBFBD><EFBFBD>J<EFBFBD>n<EFBFBD><6E><EFBFBD>܂<EFBFBD><DC82>BSFD<46>`<60><><EFBFBD>́A<CD81>t<EFBFBD><74><EFBFBD>b<EFBFBD>s<EFBFBD>[<5B>E<EFBFBD>f<EFBFBD>B<EFBFBD>X<EFBFBD>N<EFBFBD>A<EFBFBD>}<7D>C<EFBFBD>N<EFBFBD><4E><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>A<EFBFBD><41><EFBFBD>w<EFBFBD>f<EFBFBD>B<EFBFBD>X<EFBFBD>N<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>т<EFBFBD><D182>̑<EFBFBD><CC91>X<EFBFBD>[<5B>p<EFBFBD>[<5B>E<EFBFBD>t<EFBFBD><74><EFBFBD>b<EFBFBD>s<EFBFBD>[<5B>E<EFBFBD><45><EFBFBD>f<EFBFBD>B<EFBFBD>A<EFBFBD>ŕW<C595><57><EFBFBD>I<EFBFBD>Ɏg<C98E>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>܂<EFBFBD><DC82>B</p>
|
|||
|
<p>FAT<EFBFBD>^<5E>C<EFBFBD>v(FAT12/FAT16/FAT32)<29>́A<CD81><41><EFBFBD>̃{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><em><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>^<5E><><EFBFBD>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>Ă̂<CC82><DD8C><EFBFBD></em><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>錈<EFBFBD>܂<EFBFBD>[FAT<41>d<EFBFBD>l<EFBFBD><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D>ɂȂ<C982><C882>Ă<EFBFBD><C482>āA<C481><41><EFBFBD><EFBFBD><EFBFBD>ȊO<C88A>̗v<CC97><76><EFBFBD>͂<EFBFBD><CD82><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>āA<C481>ǂ<EFBFBD>FAT<41>^<5E>C<EFBFBD>v<EFBFBD>ɂȂ邩<C882>̓{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>ƃN<C683><4E><EFBFBD>X<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>N<EFBFBD><4E><EFBFBD>X<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>͑傫<CD91><E582AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>قǐ<D982><C790>\<5C><><EFBFBD>オ<EFBFBD><E382AA><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
<p><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>^<5E><><EFBFBD><EFBFBD>FAT<41>^<5E>C<EFBFBD>v<EFBFBD>̋<EFBFBD><CC8B>E<EFBFBD>ɋ߂<C98B><DF82>Ȃ<EFBFBD><C882>Ƃ<EFBFBD><C682>́A<tt>FR_MKFS_ABORTED</tt><EFBFBD>Ŋ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para comp">
|
|||
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<p><tt>_FS_READONLY == 0</tt><EFBFBD>ŁA<EFBFBD><EFBFBD><EFBFBD><EFBFBD><tt>_USE_MKFS == 1</tt><EFBFBD>̂Ƃ<EFBFBD><EFBFBD>g<EFBFBD>p<EFBFBD>\<5C>ł<EFBFBD><C582>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para ref">
|
|||
|
<h4><EFBFBD>Q<EFBFBD><EFBFBD></h4>
|
|||
|
<p><tt><a href="filename.html#vol"><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>Ǘ<EFBFBD></a>, <a href="fdisk.html">f_fdisk</a></tt></p>
|
|||
|
</div>
|
|||
|
|
|||
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|||
|
</body>
|
|||
|
</html>
|