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",