mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-05 00:15:58 +00:00
keyworrd: fix block device value for type=
Fixes: #127 Reported-by: Lennart Poettering lennart@poettering.net Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
469590a575
commit
5db2376250
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue