Re: [PATCH] Fuse chardevice number

From: Miklos Szeredi
Date: Thu Jul 14 2005 - 03:06:32 EST


> /** The major number of the fuse character device */
> -#define FUSE_MAJOR 10
> +#define FUSE_MAJOR MISC_MAJOR

OK, this makes some sense.

> /** The minor number of the fuse character device */
> -#define FUSE_MINOR 229
> +#define FUSE_MINOR MISC_DYNAMIC_MINOR

Why?

FUSE has an allocated fix minor. Dynamic minor is much harder to
handle with legacy /dev (not udev).

Thanks,
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/