Return codes are zero for both rtems_bdpart_register_from_disk() and rtems_fsmount(). Previously, returned 27 when we had driver problems.<div>I know that /dev/hda1 is created.</div><div>thanks</div><div>cx</div><div><br>
<br><div class="gmail_quote">On Tue, Nov 13, 2012 at 10:59 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 11/13/2012 04:31 PM, Chris Xenophontos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
//////////////// from application initialization code ////////////////////////<br>
sc = rtems_bdpart_register_from_<u></u>disk( "/dev/hda" );<br>
<br>
rv = rtems_fsmount( fs_table, sizeof(fs_table)/sizeof(fs_<u></u>table[0]), NULL);<br>
<br>
//////////////////////////////<u></u>//////////////////////////////<u></u>////////////////////<br>
<br>
what are we doing wrong?<br>
</blockquote>
<br></div>
You should check the return status codes.<br>
<br>
Does the rtems_bdpart_register_from_<u></u>disk() create the "/dev/hda1" and "/dev/hda2" device files?<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany<br>
Phone : <a href="tel:%2B49%2089%2018%2090%2080%2079-6" value="+4989189080796" target="_blank">+49 89 18 90 80 79-6</a><br>
Fax : <a href="tel:%2B49%2089%2018%2090%2080%2079-9" value="+4989189080799" target="_blank">+49 89 18 90 80 79-9</a><br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-<u></u>brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
<br>
______________________________<u></u>_________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/<u></u>listinfo/rtems-users</a><br>
</blockquote></div><br></div>