[haiku-bugs] Re: [Haiku] #6285: Implement posix_fallocate()

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Thu, 08 Jul 2010 16:07:14 -0000

#6285: Implement posix_fallocate()
---------------------------+------------------------------------------------
  Reporter:  korli         |         Owner:  nobody   
      Type:  enhancement   |        Status:  new      
  Priority:  low           |     Milestone:  R1       
 Component:  System/POSIX  |       Version:  R1/alpha2
Resolution:                |      Keywords:           
Blocked By:                |   Has a Patch:  0        
  Platform:  All           |      Blocking:           
---------------------------+------------------------------------------------

Comment (by axeld):

 a. it does not cut the file if the size given is smaller than the file
 size.
  b. it actually allocates the storage, ie. makes sparse files no longer
 sparse in that region.

 While a.) could be solved by the caller, b.) needs to have file system
 support.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6285#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: