st_dev and st_ino for pipes

2011-10-02 Thread Kostik Belousov
Our implementation of pipes does not provide useful values for st_dev and st_ino when stat(2) is done on an anonymous pipe. It was noted by the people outside the project, e.g. Perl contains a workaround in one of its modules, submitted by Debian/kFreeBSD developers, see http://bugs.debian.org/cgi-

code in GEOM thread could not use vnode API (Was: alq_open_flags() panics in _mtx_lock_flags())

2011-10-02 Thread Lev Serebryakov
Hello, Current. You wrote 2 октября 2011 г., 19:32:23: It seems, that error only occurs when I call alq API from geom threads (from g_events, for example). Module, which is not GEOM class, could use this API without any problem! Is it normal, that GEOM could not use vnode API? Is it normal, t

alq_open_flags() panics in _mtx_lock_flags()

2011-10-02 Thread Lev Serebryakov
Hello, FreeBSD. I'm trying to create logging queue with alq kernel API. I call alq_open_flags() like this in my module: error = alq_open_flags(&sc->sc_alq, sc->sc_vnode_name, curthread->td_ucred, ALQ_DEFAULT_CMODE, sizeof(struct g_log_entry), ALQ_ORDERED); and my system (10-CURRENT) p

Re: FreeBSD 9: Fn+* keyboard combinations aren't working anymore.

2011-10-02 Thread arrowdodger
On Wed, Sep 28, 2011 at 5:44 PM, arrowdodger <6year...@gmail.com> wrote: > On Wed, Sep 28, 2011 at 5:32 PM, Lars Engels wrote: > >> On Wed, Sep 28, 2011 at 05:30:25PM +0400, arrowdodger wrote: >> > Hello. I've used FreeBSD 8-STABLE on my Asus K40IN notebook. This >> notebook >> > has an key combi