[Q] can I ask your insight for an upcoming project?
[Q] can I ask your insight for an upcoming project?
- Subject: [Q] can I ask your insight for an upcoming project?
- From: JongAm Park <email@hidden>
- Date: Wed, 17 Oct 2012 10:14:31 -0700
Hello,
I unsubscribed from these darwin-drivers and darwin-kernel mailing list a few days ago because I didn't work on those stuff anymore, but suddenly I'm in those again. So, I subscribed those two mailing lists again.
For my background, I have been a long time, Mac, Windows and Linux programmer in user-space level.
I have never touched IOKit or kext drivers before, although I touched OSes from PSOSystem/Windriver to put on a embedded system many many years ago.
What I remember now is that most of the user-space libraries and others are useless in the kernel level, and to be able to program in that level, you should know details of H/W, like memory location for specific features etc. So, writing kernel drivers or file systems are like a new animal to me.
At work, we are considering a method to bridge a storage device, built totally in-house, connected through PCI-e. Because we want it to be mounted and used just like external HDDs, I thought that we would need to write file system for that.
However, yesterday a second thought struck me. Writing file system is complicated although it depends on the features it supports and generality and so on, but instead how about making a kind of driver which bridges the device to HFS+ file system?
I believe it will be possible, because we can format USB thumb drives as FAT32, NTFS, HFS+ and so on and mount.
I don't think Apple provides HFS+ for USB, HFS+ for HDD, HFS+ for...., for example.
So, can you guide me roads in front of us?
I noticed some documents like :
- Mass Storage Device Driver Programming Guide
- I/O Kit fundamentals
- Device File Access Guide for Storage Device : but I think it's not for us. This document is about access file storage devices from application program directly.
( but can contain some useful information)
- Kernel Frmaework Reference
So, do you think it is right path to make such a driver to bridge the device to Apple's existing file system?
Are there any documents which explains procedures for simple example projects?
Application programs running on Mac are expected to access those files in the in-house device using fope(), fclose(), fread(), fwrite(), etc and other Cocoa framework classes, just like general file access method.
Thank you.
JongAm Park
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden