From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 01:32:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C6CE16A40F for ; Sat, 16 Dec 2006 01:32:51 +0000 (UTC) (envelope-from arminius@pubbox.net) Received: from pubbox.net (pubbox.net [81.169.167.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F65B43C9D for ; Sat, 16 Dec 2006 01:31:05 +0000 (GMT) (envelope-from arminius@pubbox.net) Received: from e180081187.adsl.alicedsl.de ([85.180.81.187] helo=pubbox.net) by pubbox.net with esmtpa (Exim 4.60 (FreeBSD)) (envelope-from ) id 1GvOPx-000O7L-Ay for freebsd-questions@freebsd.org; Sat, 16 Dec 2006 02:32:49 +0100 Date: Sat, 16 Dec 2006 02:33:06 +0100 From: Armin Arh To: freebsd-questions@freebsd.org Message-ID: <20061216013306.GE826@pubbox.net> References: <20061215045920.GA708@pubbox.net> <200612150117.01446.amistry@am-productions.biz> <20061215062326.GD708@pubbox.net> <44wt4tmbje.fsf@be-well.ilk.org> <20061216011648.GC826@pubbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061216011648.GC826@pubbox.net> User-Agent: Mutt/1.5.11 Sender: arminius@pubbox.net Subject: Re: Palm Tx + jpilot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 01:32:51 -0000 On Sat, Dec 16, 2006 at 02:16:48AM +0100, Armin Arh wrote: > On Fri, Dec 15, 2006 at 10:19:49AM -0500, Lowell Gilbert wrote: > > Armin Arh writes: > > > > > On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote: > > >> > In /etc/devfs.conf: > > >> > perm cuaU0 0666 > > >> > > > >> > but then: > > >> > ## l /dev/cuaU0 > > >> > crw-rw---- 1 uucp dialer - 0, 113 Dec 15 05:00 /dev/cuaU0 > > >> > > > >> > The /dev/devfs.conf permissions only apply when i run > > >> > "/etc/rc.d/devfs restart" This is a nogo because i have only 1 > > >> > second between pressing sync on the Handheld and clicking sync on > > >> > jpilot. > > >> man devfs.rules > > > > > > Thx. > > > Now devfs.rules(5) redirects me to devfs.conf(5) > > > which clearly states i should set > > > > > > perm cuaU0 0666 > > > > > > and i did so as described in my initial post. > > > Nevertheless the permissions became wrong. > > > Maybe it works after the next reboot, which is hard to > > > believe... we'll see. > > > > You need devfs.rules, *not* devfs.conf. > > Try the manual page for the former again. > > > After some reading i decided to give this one a try: > > # devfs rule add path cuaU0 mode 666 > devfs rule: ioctl DEVFSIO_RADD: Input/output error > > And then, i still do not understand why i need devfs.rules, > because i can set the file mode in devfs.conf. Oh, nice.... ## devfs rule -s 10 add path cuaU0 mode 666 ## devfs rule showsets 10 but then again: ## devfs rule add path cuaU0 mode 666 devfs rule: ioctl DEVFSIO_RADD: Input/output error => there is no predefined default ruleset (man page should state this fact besides the '-s' option) ## devfs ruleset 10 ## devfs rule add path cuaU0 mode 666 ## devfs rule show 100 path cuaU0 mode 666 200 path cuaU0 mode 666 I'm getting closer... Armin -- PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/