{"id":684,"date":"2022-11-21T03:11:53","date_gmt":"2022-11-21T03:11:53","guid":{"rendered":"http:\/\/blog.ignoranthack.me\/?p=684"},"modified":"2022-11-21T14:39:51","modified_gmt":"2022-11-21T14:39:51","slug":"fat32-on-freebsd","status":"publish","type":"post","link":"http:\/\/blog.ignoranthack.me\/?p=684","title":{"rendered":"FAT32 on FreeBSD"},"content":{"rendered":"\n<p>I couldn&#8217;t find any examples of executing a newfs_msdos for a FAT32 filesystem while I was working on some FPGA stuffs here at the house tonight.  The fine folks in the FreeBSD Discord were able to guide me to the following in order to build a working file system on my 2GB SD Card.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># newfs_msdos -F 32 -c32 -C 2G \/dev\/da0<\/code><\/pre>\n\n\n\n<p>As of today&#8217;s FreeBSD 14CURRENT, you have to massage the numbers around even though this should have just worked right out of the box.  I suspect the math inside of sector and cluster calculation may not be correct.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I couldn&#8217;t find any examples of executing a newfs_msdos for a FAT32 filesystem while I was working on some FPGA stuffs here at the house tonight. The fine folks in the FreeBSD Discord were able to guide me to the following in order to build a working file system on my 2GB SD Card. As [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_share_on_mastodon":"1"},"categories":[2,1],"tags":[],"share_on_mastodon":{"url":"https:\/\/infosec.exchange\/@seanwbruno\/109382309713590176","error":""},"_links":{"self":[{"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=\/wp\/v2\/posts\/684"}],"collection":[{"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=684"}],"version-history":[{"count":1,"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=\/wp\/v2\/posts\/684\/revisions"}],"predecessor-version":[{"id":685,"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=\/wp\/v2\/posts\/684\/revisions\/685"}],"wp:attachment":[{"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=684"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ignoranthack.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}