driver options

Hi,

please, explain me
how can I set options for my intermediate filter
which is loaded by mount command such as

mount -Tio-net /lib/dl/nfm-me.so …


Thanks a lot!
vasa

the Entry function in the driver gets a char * options parameter.It is
similar to argv in any application.All the options you give in command line
appear in that buffer.

Hope it helps

Sreekanth

“vasa” <vv40in@rambler.ru> wrote in message news:9ui3pv$iju$1@inn.qnx.com

Hi,

please, explain me
how can I set options for my intermediate filter
which is loaded by mount command such as

mount -Tio-net /lib/dl/nfm-me.so …


Thanks a lot!
vasa

If you mean to pass options to your driver through the mount
command, use the “-o” option.

Example:

mount -Tio-net -o"speed=100,duplex=1" /lib/dll/devn-speedo.so

Is the equivalent of:
io-net -dspeedo speed=100,duplex=1

Previously, vasa wrote in qdn.public.ddk.network:

Hi,

please, explain me
how can I set options for my intermediate filter
which is loaded by mount command such as

mount -Tio-net /lib/dl/nfm-me.so …


Thanks a lot!
vasa
\


-Jay.

(replace phonetically spelt host with “qnx” to email)

Sorry, I know about char * options parameter.
I have asked – HOW do to get it?


the Entry function in the driver gets a char * options parameter.It is
similar to argv in any application.All the options you give in command
line
appear in that buffer.

Hope it helps

Sreekanth

“vasa” <> vv40in@rambler.ru> > wrote in message
news:9ui3pv$iju$> 1@inn.qnx.com> …
Hi,

please, explain me
how can I set options for my intermediate filter
which is loaded by mount command such as

mount -Tio-net /lib/dl/nfm-me.so …


Thanks a lot!
vasa

Were you asking how to give parameters in the command line arguments? if so
you have to specify -o option

Sreekanth
“vasa” <vv40in@rambler.ru> wrote in message news:9uj58h$abc$1@inn.qnx.com

Sorry, I know about char * options parameter.
I have asked – HOW do to get it?


the Entry function in the driver gets a char * options parameter.It is
similar to argv in any application.All the options you give in command
line
appear in that buffer.

Hope it helps

Sreekanth

“vasa” <> vv40in@rambler.ru> > wrote in message
news:9ui3pv$iju$> 1@inn.qnx.com> …
Hi,

please, explain me
how can I set options for my intermediate filter
which is loaded by mount command such as

mount -Tio-net /lib/dl/nfm-me.so …


Thanks a lot!
vasa

Are the quotes necessary?

“Jay Greig” <greig@qnx.com> wrote in message
news:Voyager.011204125702.23253E@node341.ott.qnx.com

If you mean to pass options to your driver through the mount
command, use the “-o” option.

Example:

mount -Tio-net -o"speed=100,duplex=1" /lib/dll/devn-speedo.so

Is the equivalent of:
io-net -dspeedo speed=100,duplex=1

Previously, vasa wrote in qdn.public.ddk.network:
Hi,

please, explain me
how can I set options for my intermediate filter
which is loaded by mount command such as

mount -Tio-net /lib/dl/nfm-me.so …


Thanks a lot!
vasa



\

-Jay.

(replace phonetically spelt host with “qnx” to email)

No they are not neccessary.It will look like
mount -T io-net -o filter=filter.so my_dll.so


Sreekanth

“Issam Haddad” <ihaddad@asurent.com> wrote in message
news:9ungto$don$1@inn.qnx.com

Are the quotes necessary?

“Jay Greig” <> greig@qnx.com> > wrote in message
news:> Voyager.011204125702.23253E@node341.ott.qnx.com> …
If you mean to pass options to your driver through the mount
command, use the “-o” option.

Example:

mount -Tio-net -o"speed=100,duplex=1" /lib/dll/devn-speedo.so

Is the equivalent of:
io-net -dspeedo speed=100,duplex=1

Previously, vasa wrote in qdn.public.ddk.network:
Hi,

please, explain me
how can I set options for my intermediate filter
which is loaded by mount command such as

mount -Tio-net /lib/dl/nfm-me.so …


Thanks a lot!
vasa



\

-Jay.

(replace phonetically spelt host with “qnx” to email)