I can usually use dmesg
soon after bootup to display hardware info that my kernel loads. After my system has been up for a while however, dmesg
no longer produces anything of value concerning hardware. How can I find out my hardware specifics, such as what kind of CD ROM drive I have, that is usually found by dmesg
?
Asked
Active
Viewed 213 times
2

EhevuTov
- 474
- 3
- 10
2 Answers
3
For SATA and ATA drives atacontrol info ata#
where # is the channel number found by atacontrol list
For SCSI drives and those passed through with atapicam
you can pull info with camcontrol inq dev0
where dev0 is the device name (like cd0, or da0 for hard drives). And camcontrol devlist
will list all the devices.

Chris S
- 77,945
- 11
- 124
- 216
-1
lshal
This lists very detailed information about all hardware including the CD/DVD drive. ( note this is on linux however I suspect there is a freeBSD port/equivalent )

Lamar B
- 121
- 5
-
1You're command has no power here. Begone before someone drops a house on you. – Chris S May 21 '12 at 19:39
-
I stand shamed. – Lamar B May 21 '12 at 19:46