HI All,
Currently i am using SLES9 and i am creating sparse files using "dd" system call. However i need to reserve space for these sparse files on the disk. Earlier i used "XFS_IOC_RESVSP64" ioctl flag to reserve space for a sparse file on XFS. I would apprecitate if anyone can give me a similar way to reserve space for a sparse file on either ext3/reiserfs.


PS: i have tried populating the file with characters for every 512/4096 bytes but it takes lot of time as the file size grows.... approximately 10 minutes for a 15GB file. i need to reserve space in minimum time possible.

thanks
Madhu