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 <[EMAIL PROTECTED]> 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/ _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"