File system and CompactFlash question on MCF5485EVB board

Chris Xenophontos cxenophontos at hammers.com
Tue Nov 13 17:10:48 UTC 2012


Return codes are zero for both rtems_bdpart_register_from_disk() and
rtems_fsmount().  Previously, returned 27 when we had driver problems.
I know that /dev/hda1 is created.
thanks
cx


On Tue, Nov 13, 2012 at 10:59 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 11/13/2012 04:31 PM, Chris Xenophontos wrote:
>
>> ////////////////  from application initialization code
>>  ////////////////////////
>>      sc = rtems_bdpart_register_from_**disk( "/dev/hda" );
>>
>>      rv = rtems_fsmount( fs_table, sizeof(fs_table)/sizeof(fs_**table[0]),
>> NULL);
>>
>> //////////////////////////////**//////////////////////////////**
>> ////////////////////
>>
>> what are we doing wrong?
>>
>
> You should check the return status codes.
>
> Does the rtems_bdpart_register_from_**disk() create the "/dev/hda1" and
> "/dev/hda2" device files?
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
> Phone   : +49 89 18 90 80 79-6
> Fax     : +49 89 18 90 80 79-9
> E-Mail  : sebastian.huber at embedded-**brains.de<sebastian.huber at embedded-brains.de>
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
> ______________________________**_________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/**listinfo/rtems-users<http://www.rtems.org/mailman/listinfo/rtems-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20121113/adc64da8/attachment.html>


More information about the users mailing list