Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2011 15:02:44 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org, Kohji Okuno <okuno.kohji@jp.panasonic.com>, Ed Maste <emaste@sandvine.com>
Subject:   Re: Bug about devfs?
Message-ID:  <CAJ-FndDz31pzH2dzrqdWWAFpMm%2BOOTFCj44MBpBoCS81-S4CVg@mail.gmail.com>
In-Reply-To: <20110712111925.GH43872@deviant.kiev.zoral.com.ua>
References:  <20110712.191028.650619413057975749.okuno.kohji@jp.panasonic.com> <20110712111925.GH43872@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
MjAxMS83LzEyIEtvc3RpayBCZWxvdXNvdiA8a29zdGlrYmVsQGdtYWlsLmNvbT46Cj4gT24gVHVl
LCBKdWwgMTIsIDIwMTEgYXQgMDc6MTA6MjhQTSArMDkwMCwgS29oamkgT2t1bm8gd3JvdGU6Cj4+
IEhlbGxvLAo+Pgo+PiBJIHRoaW5rIHRoYXQgZGV2ZnMgaGFzIGEgcHJvYmxlbS4KPj4gSSBlbmNv
dW50ZXJlZCB0aGUgcHJvYmxlbSB0aGF0IG9wZW4oIi9kZXYvQUFBIikgcmV0dXJuZWQgRU5PRU5U
Lgo+PiBPZiBjb3Vyc2UsIC9kZXYvQUFBIGV4aXN0cy4KPj4KPj4gRU5PRU5UIHdhcyBjcmVhdGVk
IGJ5IHRoZSBwb2ludCgqKiopIGluIGRldmZzX2FsbG9jdigpLgo+PiBJIHRoaW5rIHRoYXQgdGhl
IHJhY2UgY29uZGl0aW9uIGhhZCBvY2N1cnJlZCBiZXR3ZWVuIHByb2Nlc3MgQSBhbmQKPj4gdm5s
cnUga2VybmVsIHRocmVhZC4KPj4KPj4gUGxlYXNlIGNoZWNrIHRoZSBmb2xsb3dpbmcuCj4+Cj4+
IElmIHZubHJ1IHNldCBWSV9ET09NRUQgdG8gdnAtPn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