On 12/21/12 04:17, Indunil Jayasooriya wrote:
HI,

I would like to know How to list available all hard disks in OpenBSD ?

If I run below 2 commands, it will give an output.

dmesg |grep wd0

fdisk wd0


If I install a new Hard Disk, How to get to know whether it is wd1 or
anything eles?

In Linux, Fdisk -l show all the available hard disks. In OpenBSD what's the
command for it?

$ sysctl -n hw.disknames
cd0:,sd0:3ae78cd65d4ba8f8

$ sysctl -n hw.disknames | sed 's/:[^,]*//g;s/,/ /'
cd0 sd0

and also see hotplugd(8)

/Alexander

Reply via email to