Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HFS + and creating a big file



hi,

I need to create a big file (20GB), the contents is not important, will fill that in later, just the file size...
When I try to do this with lseek and then write one byte. as soon I close the file, it takes a few minutes because it looks like the OS is filling up the rest with 0x00 bytes during close or flush. File system is HFS+


Any trick on how to prevent this from happening?

regars,

marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.