Node bindings for mknod
npm install mknod
var mknod = require('mknod')
mknod('some-path', modeInteger, deviceInteger, function (err) {
if (err) throw err
console.log('mknod worked!')
})
Runs the mknod syscall with the given parameters. See man 2 mknod
for more info.
MIT