path: root/c_pgms/INFO
diff options
authorRaghavendra Bhat <>2011-10-05 19:03:03 +0530
committerRaghavendra Bhat <>2011-10-05 19:03:03 +0530
commite419966d7276ab501059b15d040f6163280732c5 (patch)
tree3f76a5e0da13cbadd87626d81bd544477c7004de /c_pgms/INFO
parentff2fa6cb4fc013f158fd0195a34b838d79c72894 (diff)
c_pgms/truncte_write.c: program which creates a sparse file and writes at some offset
This program creats a file if it does not exist (filename given as an argument), opens it truncates it to the size mentioned in the argument (default 5GB), then writes some data to some offset. Thus in general creates a sparse file and write into it.
Diffstat (limited to 'c_pgms/INFO')
1 files changed, 2 insertions, 0 deletions
diff --git a/c_pgms/INFO b/c_pgms/INFO
index b755c79..a73a6df 100644
--- a/c_pgms/INFO
+++ b/c_pgms/INFO
@@ -17,3 +17,5 @@ c_pgms/new-ps-perf(new-fs-perf.c) -----> fs-perf test program modified. Now the
c_pgms/ping_pong.c (ping_pong.c) -------> ping_pong program modified. Now the time duration for which ping_pong should execute can be given as an argument. By default it executed for 600 seconds.
+c_pgms/truncate_write.c (trucate_write.c) -----> it truncates a file to the size specified (default is 5GB, and creates and truncates if the file does not exist), writes some data to some offset.