From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 19:00:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0932F106567B for ; Fri, 7 Nov 2008 19:00:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 56EC08FC0A for ; Fri, 7 Nov 2008 19:00:09 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=kelpXp4kTdEuMrrXKjMA:9 a=X116HJR1xWiF7jBp-X0i6OBDB2YA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1142399174; Fri, 07 Nov 2008 20:00:08 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 7 Nov 2008 20:02:13 +0100 User-Agent: KMail/1.9.7 References: <200811071134.42761.shoesoft@gmx.net> <20081107184929.GJ1165@hoeg.nl> <20081107185516.GC39947@rink.nu> In-Reply-To: <20081107185516.GC39947@rink.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811072002.15868.hselasky@c2i.net> Cc: Ed Schouten , Rink Springer Subject: Re: usb2: scanner no longer working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 19:00:10 -0000 On Friday 07 November 2008, Rink Springer wrote: > On Fri, Nov 07, 2008 at 07:49:29PM +0100, Ed Schouten wrote: > > Hello Hans, > > > > * Hans Petter Selasky wrote: > > > Basically there is nothing wrong with using chmod and chown. Hence USB > > > has its own directory system which is not part of devfs, it was > > > natural to also have a separate utility to set the permissions and > > > ownership, which might become more complicated than simply a user and > > > group. At EuroBSDcon this year I got some ideas about defining > > > functional permission groups, like permissions for all USB keyboards > > > for example, instead of permissions for individual devices. This > > > pradigm will then break with chmod and chown. > > > > But that's not the right direction. If we really want to do such things, > > we should add ACL support to devfs, which is already something we > > eventually want to do. I don't agree that we should create yet another > > namespace with permissions instead of using the traditional /dev > > directory. > > I'm working on migrating this to make_dev(9), so USB devices will get > created like everything else and thus work properly using devfs et al. Hi, How do you plan to integrate this? Do you have any patches? --HPS