VM and Disk interfaces from a File System
VM and Disk interfaces from a File System
- Subject: VM and Disk interfaces from a File System
- From: Wally Crooze <email@hidden>
- Date: Thu, 28 Nov 2002 21:51:51 +1100
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.