Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262101AbUKPTJp (ORCPT ); Tue, 16 Nov 2004 14:09:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262100AbUKPTJh (ORCPT ); Tue, 16 Nov 2004 14:09:37 -0500 Received: from mail.euroweb.hu ([193.226.220.4]:46303 "HELO mail.euroweb.hu") by vger.kernel.org with SMTP id S262097AbUKPTJW (ORCPT ); Tue, 16 Nov 2004 14:09:22 -0500 To: greg@kroah.com CC: rcpt-linux-fsdevel.AT.vger.kernel.org@jankratochvil.net, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org In-reply-to: <20041116175857.GA9213@kroah.com> (message from Greg KH on Tue, 16 Nov 2004 09:58:57 -0800) Subject: Re: [PATCH] [Request for inclusion] Filesystem in Userspace References: <84144f0204111602136a9bbded@mail.gmail.com> <20041116120226.A27354@pauline.vellum.cz> <20041116163314.GA6264@kroah.com> <20041116170339.GD6264@kroah.com> <20041116175857.GA9213@kroah.com> Message-Id: From: Miklos Szeredi Date: Tue, 16 Nov 2004 20:09:10 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 934 Lines: 24 > > So if I only need a single device number should I register a "misc" > > device? misc_register() seems to create the relevant sysfs entry. > > Yes, that is a good way to get a device, without having to reserve a > number. No, I think reserving a number is still necessary: there seems to be only a very small space for dynamically registered misc devices (max 15), so that's not any better than reserving a static one. I just don't yet see the big picture WRT device number allocation. So what I'm interested in, is if I get a reserved minor number for the misc (major=10) device, will I be kicked in the butt (by Linus or anybody else) like for the /proc approach? 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/