Permalink
Browse files

Adding instruction on Making in README and header for runact script

  • Loading branch information...
1 parent d929231 commit dc30be6460d9c89edb4e3eee99d669a5febb6041 @kavink kavink committed with root Jan 8, 2013
Showing with 20 additions and 2 deletions.
  1. +1 −1 Makesalt
  2. +13 −0 README
  3. +6 −1 runact
View
@@ -4,7 +4,7 @@ DIR_OBJECT = .
DIR_TARGET = .
SOURCES = salt.c
-TARGET = salt
+TARGET = actprep
CC = gcc
#CFLAGS = -g -O3 -fno-common -std=gnu99 -Wall -D_REENTRANT
View
@@ -1,3 +1,16 @@
+Getting started
+---------------
+
+git clone git@github.com:aerospike/act.git
+cd act
+make
+make -f Makesalt
+
+This will create 2 binaries, act and actprep
+
+* actprep:This executable will basically zero’s out the drives and fills it up with random data(Salting). Basically to reproduce a normal production state.
+* act: The primary executable.
+
Test Process Overview
---------------------
View
@@ -1,6 +1,11 @@
+#!/bin/bash
+####
+# Usage: ./runact device actconfig resultfile
+# e.g. ./runact /dev/sdc actconfig_1x.txt sdc-1x-intel320.txt
+####
echo "Zero and salt drive"
date
-sudo ./salt $1
+sudo ./actprep $1
echo "Start act"
date
sudo ./act $2 > $3

0 comments on commit dc30be6

Please sign in to comment.