• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Reserving the Disk Space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Reserving the Disk Space
      • From: William Kucharski <email@hidden>
  • Prev by Date: Re: shm_open and mmap: Invalid argument?
  • Next by Date: Re: Reserving the Disk Space
  • Previous by thread: Re: shm_open and mmap: Invalid argument?
  • Next by thread: Re: Reserving the Disk Space
  • Index(es):
    • Date
    • Thread