# File lib/fpm/util.rb, line 320 def mknod_w(path, mode, dev) rc = -1 case %x{uname -s}.chomp when 'Linux' # bits/stat.h #define _MKNOD_VER_LINUX 0 rc = xmknod(0, path, mode, FFI::MemoryPointer.new(dev)) else rc = mknod(path, mode, dev) end rc end