writing block I/O device drivers

Hi all,
I need to write a block I/O device driver, can anyone out there give me
pointers as to wher and how to start

Previously, JalajaDevi wrote in qdn.public.ddk.input:

I need to write a block I/O device driver, can anyone out there give me
pointers as to wher and how to start

You do mean a device driver for a disk like device?
QSSL has not released the interface specifications, and at
this time they are not giving an eta.



Mitchell Schoenbrun --------- maschoen@pobox.com

hi,
yeah, basically I have a block device, for which I want to write a file
system, basically I should be able to do all file operations on the device.
As a first step I have defined the device as a resource manager, and am able
to open/write etc, but now I want to be able to access it as a file system
and should be able to do operations like “ls, cd etc…”
I need to how to go about it ? hope I have made my question clear
“Mitchell Schoenbrun” <maschoen@pobox.com> wrote in message
news:Voyager.010523131529.258E@schoenbrun.com

Previously, JalajaDevi wrote in qdn.public.ddk.input:

I need to write a block I/O device driver, can anyone out there give me
pointers as to wher and how to start

You do mean a device driver for a disk like device?
QSSL has not released the interface specifications, and at
this time they are not giving an eta.



Mitchell Schoenbrun --------- > maschoen@pobox.com

Previously, JalajaDevi wrote in qdn.public.ddk.input:

I need to how to go about it ? hope I have made my question clear

Your question is clear, but the answer is still the same.
They haven’t released the API.

Mitchell Schoenbrun --------- maschoen@pobox.com

“Mitchell Schoenbrun” <maschoen@pobox.com> wrote in message
news:Voyager.010523172219.6902C@schoenbrun.com

Previously, JalajaDevi wrote in qdn.public.ddk.input:
I need to how to go about it ? hope I have made my question clear

Your question is clear, but the answer is still the same.
They haven’t released the API.

It appears what you want to do is kind of like cam-disk.so where you
would not have to deal with the filesystem structure. As Mitchell
mentioned you can’t do that since QSSL hasn’t release any info (as
it will probably be changed )

However nothing prevents you to deal with that yourself and
let you manager handles all the required request.

Depending on you hardware you may also be able to use
a flash driver (available with QNX4 cross development)


Mitchell Schoenbrun --------- > maschoen@pobox.com

hi,
I got a sample cam dsk driver, but it looks for a file called ram.mk
i.e. in usr/support/mkfiles/ram.mk, but i am unable to get it, can you
kindly let me know, how i can get hold of this file

thanks

Sabiha
“Mario Charest” <mcharest@antispam_zinformatic.com> wrote in message
news:9eitg8$f9k$1@inn.qnx.com

“Mitchell Schoenbrun” <> maschoen@pobox.com> > wrote in message
news:> Voyager.010523172219.6902C@schoenbrun.com> …
Previously, JalajaDevi wrote in qdn.public.ddk.input:
I need to how to go about it ? hope I have made my question clear

Your question is clear, but the answer is still the same.
They haven’t released the API.

It appears what you want to do is kind of like cam-disk.so where you
would not have to deal with the filesystem structure. As Mitchell
mentioned you can’t do that since QSSL hasn’t release any info (as
it will probably be changed )

However nothing prevents you to deal with that yourself and
let you manager handles all the required request.

Depending on you hardware you may also be able to use
a flash driver (available with QNX4 cross development)



Mitchell Schoenbrun --------- > maschoen@pobox.com

“JalajaDevi” <jganapat@storage.com> wrote in message
news:9f8gjk$e1m$1@inn.qnx.com

hi,
I got a sample cam dsk driver, but it looks for a file called ram.mk
i.e. in usr/support/mkfiles/ram.mk, but i am unable to get it, can you
kindly let me know, how i can get hold of this file

I think you’ve already beaten us in obtaining a sample of cam driver :wink:

thanks

Sabiha
“Mario Charest” <mcharest@antispam_zinformatic.com> wrote in message
news:9eitg8$f9k$> 1@inn.qnx.com> …

“Mitchell Schoenbrun” <> maschoen@pobox.com> > wrote in message
news:> Voyager.010523172219.6902C@schoenbrun.com> …
Previously, JalajaDevi wrote in qdn.public.ddk.input:
I need to how to go about it ? hope I have made my question clear

Your question is clear, but the answer is still the same.
They haven’t released the API.

It appears what you want to do is kind of like cam-disk.so where you
would not have to deal with the filesystem structure. As Mitchell
mentioned you can’t do that since QSSL hasn’t release any info (as
it will probably be changed )

However nothing prevents you to deal with that yourself and
let you manager handles all the required request.

Depending on you hardware you may also be able to use
a flash driver (available with QNX4 cross development)



Mitchell Schoenbrun --------- > maschoen@pobox.com

\