Thank you very much, Paul. I think you have already answered my question clearly. Thanks for your help.
Cheers, Hongxing On Mon, Apr 28, 2008 at 8:57 AM, Paul de Weerd <[EMAIL PROTECTED]> wrote: > Redirected to misc@, as it's more appropriate there. > > On Mon, Apr 28, 2008 at 07:27:23AM -0700, xing93111 wrote: > | Hi, > | > | I use sysctl hw.disknames command on my openBSD system, the system says: > | hw.disknames=rd0. What does this means? I also saw other posts in this > | forum, their hw.disknames may be wd0, cd0, etc. What do these mean, rd0, > | wd0, cd0? > > Look up the respective manpages of these. `man rd`, `man wd`, `man > cd`, and `man sd` will tell you plenty. Basically, these are different > types of disks that can be used by your machine. When the system > boots, it probes the hardware and enumerates all (usable) types of > storage it finds. hw.disknames then lists these. > > A couple of examples : > hw.disknames=sd0,sd1,cd0 > hw.disknames=sd0,sd1,cd0,sd2 > hw.disknames=wd0,wd1,wd2,wd3 > > sd are disks find behind a SCSI(-like) bus. The first example are > actual SCSI disks, in the second example, sd0 and sd1 are SATA disks > (they live behind an AHCI controller) and sd2 is a USB disk. > > cd are CD-ROM drives (or CD-R, CD-RW, DVD, etc). I think these are > quite obvious. > > wd are basically IDE drives. > > rd is a ramdisk, most commonly found in install kernels (bsd.rd etc). > > Read the manpages for these (all in section 4) for more details. > > Cheers, > > Paul 'WEiRD' de Weerd > > -- > >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ > +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] > http://www.weirdnet.nl/