lkml.org 
[lkml]   [2005]   [Jul]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Fuse chardevice number
FromMiklos Szeredi <>
DateThu, 14 Jul 2005 10:04:18 +0200
>  /** 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-14 08:08    [from the cache]
©2003-2008