Date: Sat, 16 Dec 2006 02:33:06 +0100 From: Armin Arh <armin@pubbox.net> To: freebsd-questions@freebsd.org Subject: Re: Palm Tx + jpilot Message-ID: <20061216013306.GE826@pubbox.net> In-Reply-To: <20061216011648.GC826@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <armin@pubbox.net> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061216013306.GE826>