Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 12:41:36 +0100
From:      "Martin Laabs" <martin.laabs@mailbox.tu-dresden.de>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   update /dev files with slices
Message-ID:  <op.t492rmbo724k7f@martin>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t492rmbo724k7f>