diff --git a/keywordfunc.go b/keywordfunc.go index e88fa2e..d23a26f 100644 --- a/keywordfunc.go +++ b/keywordfunc.go @@ -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 } diff --git a/keywords.go b/keywords.go index ed121b5..527f84f 100644 --- a/keywords.go +++ b/keywords.go @@ -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",