<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MFS shell commands and multiple MFS file systems in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162313#M1346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The shell functions don't accept absolute paths. Change directories first using cd to the root directory of the drive you're interested in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 16:22:14 GMT</pubDate>
    <dc:creator>BryGuyH</dc:creator>
    <dc:date>2012-11-02T16:22:14Z</dc:date>
    <item>
      <title>MFS shell commands and multiple MFS file systems</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162312#M1345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With MQX 3.8.1 on a K70 I have two MFS filesystems created in this order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; a: is installed on a RAM disk&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; c: is installed on an SD card&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through a telnet shell I'm trying to use the MFS shell commands to test file creation/read/write/delete on the SD card.&amp;nbsp; The only command that seems to recognize the c: filesystem is df.&amp;nbsp; Other commands, like "create" and "dir" seem to only work with the first file system they find. See the shell output below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; df a:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Free disk space on a:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2033 clusters, 512 bytes each&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;1016 KB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; df b&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Error, file system not mounted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; df c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Free disk space on c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;975594 clusters, 4096 bytes each&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;3902376 KB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; create a:test.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Error, unable to open file a:test.txt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; create c:test.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Error, unable to open file c:test.txt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; create test.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; dir&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TEST.TXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 01-01-1980 00:03:16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A TEST.TXT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; dir a:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt; dir c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;shell&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little background:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have partitioned and formatted the SD card with MQX/MFS.&amp;nbsp; I know that in my SD card init function I can create a file successfully.&amp;nbsp; I can then put the card in a PC and see the file I created.&amp;nbsp; It's just that from the MQX shell that not all of the MFS shell commands seem to work.&amp;nbsp; I must have something mis-configured.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:03:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162312#M1345</guid>
      <dc:creator>pbanta</dc:creator>
      <dc:date>2012-11-02T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: MFS shell commands and multiple MFS file systems</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162313#M1346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The shell functions don't accept absolute paths. Change directories first using cd to the root directory of the drive you're interested in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162313#M1346</guid>
      <dc:creator>BryGuyH</dc:creator>
      <dc:date>2012-11-02T16:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: MFS shell commands and multiple MFS file systems</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162314#M1347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo.&amp;nbsp; Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I spoke too soon...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can change directory and see files on the SD card using "dir", but I still can't create files.&amp;nbsp; The file system can't be read-only because I can create a file during the init, but not later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Paul Banta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162314#M1347</guid>
      <dc:creator>pbanta</dc:creator>
      <dc:date>2012-11-02T16:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: MFS shell commands and multiple MFS file systems</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162315#M1348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to copy or compare two files on the drive to see if at least you can read from it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:51:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162315#M1348</guid>
      <dc:creator>BryGuyH</dc:creator>
      <dc:date>2012-11-02T16:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: MFS shell commands and multiple MFS file systems</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162316#M1349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't read from a file.&amp;nbsp; I put an s-record file on the SD card using the card reader attached to my PC.&amp;nbsp; I tried the "type" command to dump the file and my board crashed.&amp;nbsp; I'll keep looking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 20:39:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-shell-commands-and-multiple-MFS-file-systems/m-p/162316#M1349</guid>
      <dc:creator>pbanta</dc:creator>
      <dc:date>2012-11-02T20:39:40Z</dc:date>
    </item>
  </channel>
</rss>

