hard drive's page size (if that's the right term)
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com thanks, ben _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... with virtual memory the size of a page is 4k at the moment and the number of bytes in a page can be determined at runtime using getpagesize() from the standard c library. what about the block size of the hard drive -- the smallest size of block that can be read in one go? does that always correspond with the page size? does it vary from drive to drive? is there a getpagesize() hard drive equivalent? if so what is it? This email sent to site_archiver@lists.apple.com
participants (1)
-
Ben Dougall