diff --git a/index.js b/index.js index 2e1ae6d0..6ab94e3b 100644 --- a/index.js +++ b/index.js @@ -127,6 +127,9 @@ exports.pack = function (cwd, opts) { } // TODO: add fifo etc... + if (stat.isBlockDevice()) header.type = 'block-device' + if (stat.isCharacterDevice()) header.type = 'character-device' + if (stat.isFIFO()) header.type = 'fifo' header = map(header) || header