Reserving the Disk Space
Reserving the Disk Space
- Subject: Reserving the Disk Space
- From: "Imran" <email@hidden>
- Date: Mon, 21 Feb 2005 11:23:30 +0530
Hi,
I have written a filter scheme driver and trying to
allocate/reserve nearly 30MB to 20GB of space on the disk. I have tried using
IOBufferMemeoryDescriptor, but it internally calls vm_allocate, which allocates
at the most 5MB of virtual memory space which is not the disk space.
The space which I want to reserve through block level module
should not get exposed/available to filesystem as it is not aware of that
allocated space and will treat that space as free space.
Is there any way to reserve the required space of 30 MB to 20
GB of disk space from file system instead of filter scheme driver so that even
the file system will be aware of the reserved space?
Does HFS+ file system under Darwin XNU provide such API to
reserve the disk space of GB’s?
Any help on this will certainly
Thanks in advance
Regards,
Imran
|
_______________________________________________
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