Skip to content

Commit

Permalink
Adding instruction on Making in README and header for runact script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kavin Kankeshwar authored and root committed Jan 8, 2013
1 parent d929231 commit dc30be6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makesalt
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions README
@@ -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
---------------------

Expand Down
7 changes: 6 additions & 1 deletion runact
@@ -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.