forked from TrueCloudLab/restic
Merge pull request #902 from jgfrm/issue893
storage of device id of files
This commit is contained in:
commit
67a2ac292b
1 changed files with 1 additions and 0 deletions
|
@ -568,6 +568,7 @@ func (node *Node) fillExtra(path string, fi os.FileInfo) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
node.Inode = uint64(stat.ino())
|
node.Inode = uint64(stat.ino())
|
||||||
|
node.Device = uint64(stat.dev())
|
||||||
|
|
||||||
node.fillTimes(stat)
|
node.fillTimes(stat)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue