Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - mkifs: support multiple rootdirs?: (3 Items)
   
mkifs: support multiple rootdirs?  
Any plans to support multiple rootdirs passed to mkifs?

I tried:
    mkifs -rpath1,path2,path3 
    mkifs -rpath1:path2:path3 and 
    mkifs -rpath1 -rpath2

but "Only one rootdir can be passed" was returned for the third case and the other two cases I guess the deliminator was
 treated as part of the path.

I have a situation where I have a build file and most BSP components are in a subfolder of path1 but a few file 
additional files to include in the IFS are in a separate path2.  I don't have any "control" over the build file and the 
current work around is to a) copy needed files from path2 to path1; or b) make symbolic links.  This is okay but not as 
elegant as passing multiple paths to mkifs.

Thoughts?
Re: mkifs: support multiple rootdirs?  
I totally agree that this would be handy.    Right now I manually setup 
MKIFS_PATH environment variable, which is
painful but at least works.

Please raise a PR on this.

On 10-01-25 3:57 PM, Andrew Sherk wrote:
> Any plans to support multiple rootdirs passed to mkifs?
>
> I tried:
>      mkifs -rpath1,path2,path3
>      mkifs -rpath1:path2:path3 and
>      mkifs -rpath1 -rpath2
>
> but "Only one rootdir can be passed" was returned for the third case and the other two cases I guess the deliminator 
was treated as part of the path.
>
> I have a situation where I have a build file and most BSP components are in a subfolder of path1 but a few file 
additional files to include in the IFS are in a separate path2.  I don't have any "control" over the build file and the 
current work around is to a) copy needed files from path2 to path1; or b) make symbolic links.  This is okay but not as 
elegant as passing multiple paths to mkifs.
>
> Thoughts?
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post45901
>
>    

-- 
cburgess@qnx.com
Re: mkifs: support multiple rootdirs?  
> I totally agree that this would be handy.    Right now I manually setup 
> MKIFS_PATH environment variable, which is
> painful but at least works.
> 
> Please raise a PR on this.

This feature request has been internally reported as PR 74160.

> 
> On 10-01-25 3:57 PM, Andrew Sherk wrote:
> > Any plans to support multiple rootdirs passed to mkifs?
> >
> > I tried:
> >      mkifs -rpath1,path2,path3
> >      mkifs -rpath1:path2:path3 and
> >      mkifs -rpath1 -rpath2
> >
> > but "Only one rootdir can be passed" was returned for the third case and the
>  other two cases I guess the deliminator was treated as part of the path.
> >
> > I have a situation where I have a build file and most BSP components are in 
> a subfolder of path1 but a few file additional files to include in the IFS are
>  in a separate path2.  I don't have any "control" over the build file and the 
> current work around is to a) copy needed files from path2 to path1; or b) make
>  symbolic links.  This is okay but not as elegant as passing multiple paths to
>  mkifs.
> >
> > Thoughts?