dir The handle to the parent devfs directory entry. If this is NULL the
name is relative to the root of the devfs.
nameThe name of the entry.
major The major number. This is used if name is NULL.
minor The minor number. This is used if name is NULL.
type The type of special file to search for. This may be either
DEVFS_SPECIAL_CHR or DEVFS_SPECIAL_BLK.
traverse_symlinks If TRUE then symlink entries in the devfs namespace are
traversed. Symlinks pointing out of the devfs namespace will cause a
failure. Symlink traversal consumes stack space.