<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 20 March 2017 at 13:01, Daniel Schultz <span dir="ltr">&lt;<a href="mailto:d.schultz@phytec.de" target="_blank">d.schultz@phytec.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Doesn&#39;t mkfs returns an exit code if it wasn&#39;t successful?<br>
<br>
</span></blockquote>
Yes, but it seems like mkfs can&#39;t handle everything.<br>
<br>
&quot;The htree (hash tree) indexes directory entries by hash to speed up<br>
random directory accesses.  e2fsck can regenerate the indices, but the<br>
rest of e2fsprogs cannot create or maintain them.&quot;<br>
[<a href="http://www.spinics.net/lists/linux-ext4/msg55702.html" rel="noreferrer" target="_blank">http://www.spinics.net/lists/<wbr>linux-ext4/msg55702.html</a>]<br>
<br>
Currently, our boards have to reboot, because fsck exits with an error code of 1 at the first boot.<br></blockquote></div><br>Fair enough, thanks.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>