Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2002 03:12:56 +0900
From:      Makoto Matsushita <matusita@jp.FreeBSD.org>
To:        current@FreeBSD.org
Cc:        sos@FreeBSD.org
Subject:   ATAPI CD doesn't listed up to 'kern.disks' kernel MIB
Message-ID:  <20020123031256K.matusita@jp.FreeBSD.org>

next in thread | raw e-mail | index | archive | help

I found that acd, ATAPI CD device, doesn't listed up to 'kern.disks'
kernel MIB which should list all disks in the running system.

Here is a sample:

ringo % sysctl kern.disks
kern.disks: ad0
ringo % grep acd /var/run/dmesg.boot
acd0: CDROM <TOSHIBA CD-ROM XM-6202B> at ata1-master PIO4
ringo %

I've investigated that this is because ATAPI CD driver doesn't call
disk_create() when detecting CD device.  Other disks, including SCSI
CD or RAID HDD calls this function.

http://snapshots.jp.freebsd.org/tour/current/cgi-bin/global.cgi?pattern=disk_create&id=&type=reference

Is it a feature or something forgotten to add it?

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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