1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-11-22 08:25:38 +00:00

Merge pull request #130 from vbatts/fix_block_device_value

keyworrd: fix block device value for `type=`
This commit is contained in:
Vincent Batts 2017-06-15 12:08:27 -05:00 committed by GitHub
commit f09463164c
2 changed files with 1 additions and 2 deletions

View file

@ -162,7 +162,7 @@ var (
if info.Mode()&os.ModeCharDevice != 0 {
return "type=char", nil
}
return "type=device", nil
return "type=block", nil
}
return emptyKV, nil
}

View file

@ -242,7 +242,6 @@ var (
// BsdKeywords is the set of keywords that is only in the upstream FreeBSD mtree
BsdKeywords = []Keyword{
"cksum",
"device",
"flags", // this one is really mostly BSD specific ...
"ignore",
"gid",