View topic - Filesystem driver documentation

Filesystem driver documentation

anything that doesn't fit to other groups.

Filesystem driver documentation

Postby nico04 » Wed Nov 20, 2019 4:05 pm

Hi,

I'd like to write a filesystem driver. Something like fs-dos.so
Anyone has documentation on how to achieve this? Any example ?

Regards,
Nicolas
nico04
Senior Member
 
Posts: 163
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: Filesystem driver documentation

Postby Tim » Wed Nov 20, 2019 6:15 pm

I would first check out Robert Krten's book: The QNX Cookbook: Recipes for Programmers.

Much of it is online here
http://www.qnx.com/developers/docs/qnxc ... about.html

Several chapters on writing filesystems. The RAM filesystem is probably the best bet. There is code examples too.

Tim
Tim
Senior Member
 
Posts: 1470
Joined: Wed Mar 10, 2004 12:28 am

Re: Filesystem driver documentation

Postby nico04 » Tue Nov 26, 2019 8:40 am

Hi Tim,

Thanks for the link. This is very instructive. However, there's not enough information to create de file-system driver like fs-dos.so.

Nicolas
nico04
Senior Member
 
Posts: 163
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: Filesystem driver documentation

Postby Tim » Tue Dec 03, 2019 2:37 pm

Hi Nicolas,

If your QNX license/support agreement is up to date, then you could join the filesystem group on Foundry27 and get access to the source code for all the filesystem drivers:

http://community.qnx.com/sf/projects/filesystems/

Tim
Tim
Senior Member
 
Posts: 1470
Joined: Wed Mar 10, 2004 12:28 am

Re: Filesystem driver documentation

Postby nico04 » Tue Dec 10, 2019 8:58 am

Hi Tim,

I was waiting for the renew of my support plan before answering.
I already joined several Foundry27 project but I have found no way to join Filesystem project. There is no "Join This Project" button.
How can I join the Filesystems project ?

Nicolas
nico04
Senior Member
 
Posts: 163
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: Filesystem driver documentation

Postby Tim » Tue Dec 10, 2019 2:38 pm

Nico,

Did you log in with your QNX credentials?

See the screen shot with the join button (left side under Team Forge) when I am logged in with my QNX credentials.

Tim
Attachments
join.jpg
(284.37 KiB) Not downloaded yet
Tim
Senior Member
 
Posts: 1470
Joined: Wed Mar 10, 2004 12:28 am

Re: Filesystem driver documentation

Postby nico04 » Tue Dec 10, 2019 4:05 pm

Tim,

Did you log in with your QNX credentials?

I did. Please, see the attached picture.

...

Just realised I already joined the project years ago. :roll:
But no source code there.

Nicolas

Capture 2019-12-10 165906.jpg
Capture of Foundry27 Filesystem project page.
(94.3 KiB) Not downloaded yet
nico04
Senior Member
 
Posts: 163
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: Filesystem driver documentation

Postby Tim » Tue Dec 10, 2019 9:29 pm

Nico,

You may have to ask for it in the Forum. The sourceforge link was broken for me but I also didn't join the project.

Tim
Tim
Senior Member
 
Posts: 1470
Joined: Wed Mar 10, 2004 12:28 am

Re: Filesystem driver documentation

Postby nico04 » Wed Dec 11, 2019 7:57 am

Hi Tim,

There is a topic on the Forum posted on 04/09/2010 which title is " QNX Source Access Policy Update".
It's content is :
QNX Source Access Policy Update


This message is to inform you that QNX Software Systems has updated its
source code access policy.

Although these changes affect a very limited number of QNX community
members, they do change the process of how source-code access is
granted.

Please refer to the FAQ
(http://community.qnx.com/sf/wiki/do/vie ... ty/wiki/Up
datedQNXSourceAccessPolicyFAQ) for details.

Regards

QNX Community Management Group


The link displays : "Please contact your QNX Sales or Support representative if you require access to QNX source code."

I'll try a request anyway. But I know the end of the story...

Nicolas
nico04
Senior Member
 
Posts: 163
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: Filesystem driver documentation

Postby Tim » Wed Dec 11, 2019 2:45 pm

Hi Nicolas,

In this case, you should frame your request for a specific driver. Say NFS which isn't QNX but is an open standard that just has a QNX wrapper around it for interfacing with the QNX O/S. That's really just the part you are interested in (the wrapper).

You might have better luck with that since you aren't asking for QNX specific secrets (ie their filesystem). If it doesn't work out, then your next bet is to comb the torrent sites for the QNX source code that was released a few years ago when they made everything open source (I don't think it will be hard to find).

Tim
Tim
Senior Member
 
Posts: 1470
Joined: Wed Mar 10, 2004 12:28 am

Re: Filesystem driver documentation

Postby nico04 » Fri Dec 13, 2019 9:02 am

Hi Tim,

I'm waiting for my sales representative answer (who's waiting for QNX answer).

I'm not used to torrents. Any pointer for a QNX one ?

Nicolas
nico04
Senior Member
 
Posts: 163
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: Filesystem driver documentation

Postby Tim » Fri Dec 13, 2019 3:09 pm

Hi Nicolas,

While looking for a filesystem torrent I stumbled across this link about an open source NTFS-3G filesystem driver that claims QNX compatibility.
https://www.tuxera.com/community/open-source-ntfs-3g/

It even has it's own QNX wiki entry (linked to from the link above)
http://community.qnx.com/sf/wiki/do/vie ... i/HomePage

So *maybe* this is the source code you need to see an example of a filesytem driver (you'd have to grab the source and build).

Tim
Tim
Senior Member
 
Posts: 1470
Joined: Wed Mar 10, 2004 12:28 am


Return to General Programming

Who is online

Users browsing this forum: Tim and 8 guests

cron