forked from TrueCloudLab/restic
storage of device id of files
This commit is contained in:
parent
6935f82389
commit
c855d6bb9a
1 changed files with 1 additions and 0 deletions
|
@ -581,6 +581,7 @@ func (node *Node) fillExtra(path string, fi os.FileInfo) error {
|
|||
case "file":
|
||||
node.Size = uint64(stat.size())
|
||||
node.Links = uint64(stat.nlink())
|
||||
node.Device = uint64(stat.dev())
|
||||
case "dir":
|
||||
case "symlink":
|
||||
node.LinkTarget, err = fs.Readlink(path)
|
||||
|
|
Loading…
Reference in a new issue