mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 11:56:33 -05:00
Adds pid file support.
This commit is contained in:
parent
875081f530
commit
bc2a837953
8 changed files with 149 additions and 14 deletions
1
state.h
1
state.h
|
|
@ -50,6 +50,7 @@ struct snapraid_state {
|
|||
uint64_t qarity_device; /**< Device identifier of the qarity. */
|
||||
char pool[PATH_MAX]; /**< Path of the pool tree. */
|
||||
uint64_t pool_device; /**< Device identifier of the pool. */
|
||||
char pidfile[PATH_MAX]; /**< Path of the pid file to use. */
|
||||
unsigned char hashseed[HASH_SIZE]; /**< Hash seed. */
|
||||
unsigned level; /**< Number of parity levels. 1 for RAID5, 2 for RAID6. */
|
||||
unsigned hash; /**< Hash kind used. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue