prependdevtopath
stat(prependdevtopath(name, device, devlen), &devstat) != 0))
devname = prependdevtopath(devname, device, devlen);