[LCP]File Allocation Question

David Lloyd lloy0076 at rebel.net.au
Sat Sep 7 23:01:05 UTC 2002


In the abstraction layer for filesystems in the Linux Kernel is there a
file creation feature where you can specify that you want a file of X
blocks ALL of which must be CONTIGUOUS? The function should return false
if the file system can't find enough space.

This might be specific to particular file systems. File systems that
don't implement this function could allocate the space anyway and return
a "soft error" (i.e. yes, it worked but not as you expected).

DSL
-- 
Con te partiro, su navi per mari
 Che io lo so, no, no non esistono piu
Con te io li vivro.
 (Sartori F, Quarantotto E)




More information about the linuxCprogramming mailing list