mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-25 17:45:39 +00:00
Merge pull request #130 from vbatts/fix_block_device_value
keyworrd: fix block device value for `type=`
This commit is contained in:
commit
f09463164c
2 changed files with 1 additions and 2 deletions
|
@ -162,7 +162,7 @@ var (
|
||||||
if info.Mode()&os.ModeCharDevice != 0 {
|
if info.Mode()&os.ModeCharDevice != 0 {
|
||||||
return "type=char", nil
|
return "type=char", nil
|
||||||
}
|
}
|
||||||
return "type=device", nil
|
return "type=block", nil
|
||||||
}
|
}
|
||||||
return emptyKV, nil
|
return emptyKV, nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -242,7 +242,6 @@ var (
|
||||||
// BsdKeywords is the set of keywords that is only in the upstream FreeBSD mtree
|
// BsdKeywords is the set of keywords that is only in the upstream FreeBSD mtree
|
||||||
BsdKeywords = []Keyword{
|
BsdKeywords = []Keyword{
|
||||||
"cksum",
|
"cksum",
|
||||||
"device",
|
|
||||||
"flags", // this one is really mostly BSD specific ...
|
"flags", // this one is really mostly BSD specific ...
|
||||||
"ignore",
|
"ignore",
|
||||||
"gid",
|
"gid",
|
||||||
|
|
Loading…
Reference in a new issue