-
Notifications
You must be signed in to change notification settings - Fork 0
/
eprd_setup.1
60 lines (59 loc) · 2.24 KB
/
eprd_setup.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.\"
.\" eprd_setup.1 - the *roff document processor source for the eprd_setup manual
.\" You may contact the author by:
.\" e-mail: [email protected]
.\"
.TH eprd_setup 1 .\" "EPRD reference" v0.1.3 "2012"
.SH NAME
eprd_setup - The setup utility for EPRD
.nf
EPRD - Eventually Persistent Ram Disk and RAM disk cache
.SH SYNTAX
.nf
\fBAttach\fR : ./eprd_setup -f datafile -s size_of_blockdevice[MG] -m commit_interval [-b(barrier) -c(create) -h(help) -p(cachesize)]
\fBDetach :\fR ./eprd_setup -d /dev/eprd_device_name
.fi
.SH VERSION
This man page documents eprd_setup version 0.1.3
.SH DESCRIPTION
\fBeprd_setup\fR
.PP
.SS OPTIONS
.IP -b
Used to enable barriers.
When barriers are enabled filesystems can signal EPRD to flush and sync all dirty buffers to disk.
.IP -c
When EPRD is used with a regular file and attached for the first time -c will enable eprd_setup to create the file with a size that must be specified with -s
.IP -f datafile
Specify either a blockdevice or a regular file. When regular file is used it must either already exist or -c must be specified with -s
.IP -m
This sets the maximum interval at which ERPD will flush writes to disk in seconds.
When -b is also specified writes may be commited to disk before commit interval expires.
.IP -p
Used to set the amount of kernel RAM that EPRD will use to cache read and write requests.
.IP -s NNN[MG]
Only used when EPRD is backed by a regular file.
You can specify the size in bytes as NNN or the size in megabytes as NNNM as well as the size in gigabytes as NNNG
.IP -z
Specifies the sectorsize. Valid options are 512..4096 bytes.
.nf
.PP
Email bug reports to
.BR [email protected] .
.SH COPYRIGHT
Copyright (C) 2012 Mark Ruijter
.PP
You can redistribute EPRD and eprd_setup and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation.
You should have received a copy of the GNU General Public License
along with this program. If not, see \fB<http://www.gnu.org/licenses/>\fR.
.PP
EPRD is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
.SH AUTHOR
.PP
Mark Ruijter <[email protected]>
.br