Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
VM and Disk interfaces from a File System
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VM and Disk interfaces from a File System



I'm attempting to port a file system to Mac OS X, but since I am new to darwin I am having trouble working out what interfaces that I can use to communicate to the VM and the Disk below.

Could somebody explain the VM and Disk interfaces which I should use for a file system. Also, is it possible to tell the VM to flush a particular vnode (file) data out to disk so that I can force consistency between disk and memory when necessary?

I have noticed that part of the disk interface the functions cluster_read and cluster_write, are there normal read and write functions or is cluster the default?

Any help would be great. If there is a document that explains this stuff and file systems on Mac OS X I would love to read it. I've looked at Inside Mac OS X's System Overview, Kernel Programming and User Porting Guide but are just confused which things are relevant to KEXTs or just the kernel.

Thanks.
--
Wally Crooze
+-------------------------------------------------------+
| ,-_|\ Wally Crooze <email@hidden> |
| / \ |
| \_,-._/ |
| v |
+-------------------------------------------------------+
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.