mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05:00
Log the filesystem type and label
Some checks failed
Some checks failed
This commit is contained in:
parent
5a5668851d
commit
9f081f9c22
10 changed files with 435 additions and 81 deletions
|
|
@ -40,6 +40,12 @@
|
|||
*/
|
||||
#define UUID_MAX 128
|
||||
|
||||
/**
|
||||
* Max filesystem type/label length
|
||||
*/
|
||||
|
||||
#define FSINFO_MAX 64
|
||||
|
||||
/**
|
||||
* Invalid position.
|
||||
*/
|
||||
|
|
@ -334,6 +340,8 @@ struct snapraid_disk {
|
|||
char smartctl[PATH_MAX]; /**< Custom command for smartctl. Empty means auto. */
|
||||
int smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */
|
||||
char uuid[UUID_MAX]; /**< UUID of the disk. They are probed during the config reading. */
|
||||
char fstype[FSINFO_MAX]; /**< Filesystem type */
|
||||
char fslabel[FSINFO_MAX]; /**< Filesystem label */
|
||||
|
||||
uint64_t device; /**< Device identifier. */
|
||||
block_off_t total_blocks; /**< Number of total blocks. */
|
||||
|
|
@ -456,6 +464,8 @@ struct snapraid_map {
|
|||
struct snapraid_split {
|
||||
char path[PATH_MAX]; /**< Path of the parity file. */
|
||||
char uuid[UUID_MAX]; /**< UUID of the disk. Empty if unknown. They are probed during the config reading, and later read from the content file. */
|
||||
char fstype[FSINFO_MAX]; /**< Filesystem type */
|
||||
char fslabel[FSINFO_MAX]; /**< Filesystem label */
|
||||
|
||||
/**
|
||||
* Size of the parity split.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue