Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2006 02:16:48 +0100
From:      Armin Arh <armin@pubbox.net>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Subject:   Re: Palm Tx + jpilot
Message-ID:  <20061216011648.GC826@pubbox.net>
Resent-Message-ID: <20061216011741.GD826@pubbox.net>
In-Reply-To: <44wt4tmbje.fsf@be-well.ilk.org>
References:  <20061215045920.GA708@pubbox.net> <200612150117.01446.amistry@am-productions.biz> <20061215062326.GD708@pubbox.net> <44wt4tmbje.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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?20061216011648.GC826>