From owner-freebsd-current@FreeBSD.ORG Tue Jul 12 13:02:45 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BCE9106564A for ; Tue, 12 Jul 2011 13:02:45 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF0298FC19 for ; Tue, 12 Jul 2011 13:02:44 +0000 (UTC) Received: by gwb15 with SMTP id 15so2385748gwb.13 for ; Tue, 12 Jul 2011 06:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=E6F/gwcl1AiX9FyQLNs3lbQC4kJyjtuSd0kPI/s9/Qc=; b=VAA2RK9yjilc69XIRFYPKjvby4+dQ9PiXU9Kamfj8ZAdAQD374zdFVHYhBIOWJpaRO 7aupisrXnUSt0BN6bamHkUefqU9ejGKlFnUL9pRD0YjnTimft+KhPFyZqSEi/YuVdJQL J8rTssJOfr/GLYfBp7taXr0bcNxfvCdPaIeI0= MIME-Version: 1.0 Received: by 10.236.180.38 with SMTP id i26mr7440099yhm.205.1310475764132; Tue, 12 Jul 2011 06:02:44 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.236.31.4 with HTTP; Tue, 12 Jul 2011 06:02:44 -0700 (PDT) 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> Date: Tue, 12 Jul 2011 15:02:44 +0200 X-Google-Sender-Auth: p2vOg4GYyocNYh8z7EJneKIEd84 Message-ID: From: Attilio Rao To: Kostik Belousov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Cc: freebsd-current@freebsd.org, Kohji Okuno , Ed Maste Subject: Re: Bug about devfs? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2011 13:02:45 -0000 MjAxMS83LzEyIEtvc3RpayBCZWxvdXNvdiA8a29zdGlrYmVsQGdtYWlsLmNvbT46Cj4gT24gVHVl LCBKdWwgMTIsIDIwMTEgYXQgMDc6MTA6MjhQTSArMDkwMCwgS29oamkgT2t1bm8gd3JvdGU6Cj4+ IEhlbGxvLAo+Pgo+PiBJIHRoaW5rIHRoYXQgZGV2ZnMgaGFzIGEgcHJvYmxlbS4KPj4gSSBlbmNv dW50ZXJlZCB0aGUgcHJvYmxlbSB0aGF0IG9wZW4oIi9kZXYvQUFBIikgcmV0dXJuZWQgRU5PRU5U Lgo+PiBPZiBjb3Vyc2UsIC9kZXYvQUFBIGV4aXN0cy4KPj4KPj4gRU5PRU5UIHdhcyBjcmVhdGVk IGJ5IHRoZSBwb2ludCgqKiopIGluIGRldmZzX2FsbG9jdigpLgo+PiBJIHRoaW5rIHRoYXQgdGhl IHJhY2UgY29uZGl0aW9uIGhhZCBvY2N1cnJlZCBiZXR3ZWVuIHByb2Nlc3MgQSBhbmQKPj4gdm5s cnUga2VybmVsIHRocmVhZC4KPj4KPj4gUGxlYXNlIGNoZWNrIHRoZSBmb2xsb3dpbmcuCj4+Cj4+ IElmIHZubHJ1IHNldCBWSV9ET09NRUQgdG8gdnAtPnZfaWZsYWcgYnV0IHZubHJ1IGRpZG4ndCBz dGlsbCBleGVjdXRlCj4+IFZPUF9SRUNMQUlNKCksIHByb2Nlc3MgQSBjYXQgZ2V0IHZhbGlkIHZw IGZyb20gZGUtPmRlX3Zub2RlLgo+PiBCdXQsIHZnZXQoKSB3aWxsIHJldHVybiBFTk9FTlQsI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