link() fails?

Joel Sherrill joel.sherrill at OARcorp.com
Wed Feb 27 14:47:23 UTC 2002



Mike Panetta wrote:
> 
> I am in the middle of debugging the MRM332 BSP, and I am having a
> strange error.  In console_init(), there is a piece of code that links
> /dev/sci to /dev/console.  The link command is failing, saying links are
> not supported.  What could cause this?  The exact test in link.c that is
> failing is this: if ( !parent_loc.ops->link_h ), on line 72 of link.c.
> Does this clue anyone in?  I think this may be all I need to resolve to
> get this BSP to work.  Could I not be including some FS or FS option on
> the configure line when I am configuring RTEMS that would cause this?
> This has definatly been a fun ride (I had to debug and fix the BDM
> driver to even get this far ;), so it will be worth it to see this BSP
> working.


Symbolic links are not supported by the mini-IMFS which is the default
filesystem.  An alternative to using a symlink is to register the
same major/minor combination with the 2nd name.

> Thanks,
> Mike

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list