netbsd /dev name list? reddit / BSD ---------------------------------------------------------------------- pumpkinandpeach · 2018-10-11 21:11 Is there a list of what each of the device names are? Like what type of device each one is for? ---------------------------------------------------------------------- BumpitySnook · 2018-10-11 23:17 There are manual pages for many driver names. A typical device name in /dev is the driver name plus a "unit number," which is just a unique identifier for devices that share the same driver. So strip off the trailing numbers and look for those drivers in the manual. ---------------------------------------------------------------------- vtail57 · 2018-10-11 23:29 Here is a list for most common devices: /dev/fd\* Floppy disk /dev/wd\* IDE and some SATA /dev/sd\* SCSI/SAS/SATA/USB/RAID/non-IDE disk /dev/cd\* CD/DVD drive If it has 'r' in the name, e.g., /dev/rfd0, that means it's a raw device (no buffering), otherwise it's a block device (buffering). Otherwise, search for man pages as suggested and/or grep dmesg output for some additional information. ---------------------------------------------------------------------- [deleted] · 2018-10-12 00:19 [deleted] ---------------------------------------------------------------------- pumpkinandpeach · 2018-10-12 00:33 so devices are identified by the driver name and a number for the device? ---------------------------------------------------------------------- pumpkinandpeach · 2018-10-12 00:34 thanks. ---------------------------------------------------------------------- BumpitySnook · 2018-10-12 04:24 Yep, most of them. ---------------------------------------------------------------------- FUZxxl · 2018-10-12 08:47 Chapter 4 of the manual contains a page for every device. Type man 4 where `` is the name of the device without the device number to get documentation. ---------------------------------------------------------------------- losthalo7 · 2018-10-13 04:43 Indeed it does, thank you. This is why they keep boasting about how good the man pages are in the BSDs...