Using parameters with apps loaded via bmodfs

Adam Lackorzynski adam at
Sat Jun 25 16:50:09 CEST 2005

On Fri Jun 17, 2005 at 19:45:33 +0200, Derick Swanepoel wrote:
> On 6/16/05, Frank Mehnert <fm3 at> wrote:
> > Hi Derick,
> > 
> > On Thursday 16 June 2005 15:24, Derick Swanepoel wrote:
> > > Is it possible to pass commandline parameters to an application loaded
> > > with "run" when using bmodfs as file provider, without having to make
> > > a config file?
> > 
> > Simply no, regardless which file provider do you use. If you want to
> > pass command line parameters you have to use an appropriate script
> > which run is passing to the loader.
> When loading an app with the "run" console, command line parameters
> work when using the TFTP file provider but not with bmodfs. I had a
> look at the code and it was simple to fix: in
> l4/pkg/generic_fprov/examples/bmodfs/dm.c, bmodfs compares the given
> filename _with_ its parameters to the loaded filenames _without_ their
> parameters. I've attached the patch -- I hope it can be of some use.

Thanks. We fixed that at the file provider client side now as we think
the servers should just get the paths they're supposed to deliver.

Adam                 adam at

More information about the l4-hackers mailing list