Operating system API for accessing sparse files?

I need at least to test if a byte range in a file does really exist or is void.

It needs to work on the major Operating Systems: Unix (Linux/MacOSX/FreeBSD) and Windows.

I guess there is still no way to shoot holes into files or are there some file system specific API's and proposals? This would also be so great for log files.


On Windows, you can use FSCTL_GET_RETRIEVAL_POINTERS to find the mapping between file clusters and disk.

The corresponding Linux (and probably some other posixes) IOCTL is FIBMAP

Need Your Help

HTTP Status 404 - / Error when i started first time

eclipse apache tomcat tomcat7

I just have installed Eclipse and Apache tomcat 7.0.35 and add as a server in Eclipse. I ran localhost:8080/ that gave me the following error :

google map in iphone sdk?

iphone ipad google-maps mapkit

i can get current latitude and longitude from iphone sdk. but is there any google map URL

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.