|author||Raghavendra Bhat <email@example.com>||2011-10-05 19:03:03 +0530|
|committer||Raghavendra Bhat <firstname.lastname@example.org>||2011-10-05 19:03:03 +0530|
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
@@ -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.