From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 11:41:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36B6E16A41A for ; Mon, 21 Jan 2008 11:41:46 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from mailout2.zih.tu-dresden.de (mailout2.zih.tu-dresden.de [141.30.67.73]) by mx1.freebsd.org (Postfix) with ESMTP id F1F7213C457 for ; Mon, 21 Jan 2008 11:41:45 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from rmc67-31.zih.tu-dresden.de ([141.30.67.31] helo=server-n) by mailout2.zih.tu-dresden.de with esmtp (Exim 4.63) (envelope-from ) id 1JGv26-0006yy-TU for freebsd-questions@freebsd.org; Mon, 21 Jan 2008 12:41:44 +0100 Received: from martin (p5B0EDB27.dip.t-dialin.net [91.14.219.39]) by server-n (Postfix) with ESMTP id 7BB7B100A08E for ; Mon, 21 Jan 2008 12:41:38 +0100 (CET) Date: Mon, 21 Jan 2008 12:41:36 +0100 To: "freebsd-questions@freebsd.org" From: "Martin Laabs" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.25 (Linux) X-TUD-Virus-Scanned: mailout2.zih.tu-dresden.de Subject: update /dev files with slices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 11:41:46 -0000 Hi, I created a dvd with two slices a and b. (Don't ask for the reason - it is a test for my backup system) This slices are ufs formated and gbde encrypted. However - if I insert the DVD the device nodes acd0a and acd0b are not created automaticly. But if the DVD is inserted *before* boot this two nodes are there and stay even if I insert a "normal" DVD without slices. An other way to update the device nodes is to detach an attach the ata channel with atacontrol while the "sliced" DVD is beeing inserted. But this is not very smart. (In particular if there is i.e. a second device at this channel) A similar way it to reload the atapicam modul. In this case the cd0* device nodes are updated. The problems are the same as with atacontroll de-/attach. So I'am searching for a better way to tell the kernel/devfs to update the device node list of the atapi devices. Thank you, Martin L.