Hi,
I have seen several different ways to view attached disks in FreeBSD including :
I've never really understood how disks are detected by FreeBSD and now I'm curious. I have a few questions that I'm hoping somebody will be willing to answer. I'm not a newb, but I am embarrassed to admit that I often go through these methods using trial and error, rather than logic, now I wanna be logical and efficient using a systematic, knowledge driven approach. Here are my questions:
1. At a process level, in a nutshell, how are disks detected by FreeBSD?
2. What is the canonical set of utilities for getting disk information in FreeBSD (if there is a canonical set, otherwise the most useful)?
3. Which utilities are active (query hardware at time of request) vs passive (report information obtained during initialization)?
I appreciate y'alls expertise and time.
Thanks,
Will
I have seen several different ways to view attached disks in FreeBSD including :
camcontrol devlist
geom disk list
sysctl kern.disks
dmesg
I've never really understood how disks are detected by FreeBSD and now I'm curious. I have a few questions that I'm hoping somebody will be willing to answer. I'm not a newb, but I am embarrassed to admit that I often go through these methods using trial and error, rather than logic, now I wanna be logical and efficient using a systematic, knowledge driven approach. Here are my questions:
1. At a process level, in a nutshell, how are disks detected by FreeBSD?
2. What is the canonical set of utilities for getting disk information in FreeBSD (if there is a canonical set, otherwise the most useful)?
3. Which utilities are active (query hardware at time of request) vs passive (report information obtained during initialization)?
I appreciate y'alls expertise and time.
Thanks,
Will