Investigating H/W Flashcards
Linux device manager that detects that a hard drive has been connected and passes information about the hard drive through the dbus service
udev
passes all information about everything that goes on within the Linux system to other services and devices. The hard drive is then attached to the /dev pseudo file system.
dbus service
contains the actual handles to all devices that are connected to the system. Any piece of hardware that gets picked up by udev gets added to the /dev file
system location.
/dev pseudo file system
all of the hardware configured on our system
/dev directory
lists all the block devices on a computer and that information gets passed through dbus and gets passed down to the /dev file system.
lsblk command,
indicates how many cores that this CPU can actually work with. This is an 8 core machine. So we have an individual directory for each 1 of these cores and within each there’s a file that pertains to information about the actual CPU itself.
core directory,
CPU 0 through 7
video cards that are attached to your system
D-R-I Direct Rendering Interface
list out all of the PCI devices that we have currently attached to our computer and will query the /dev directory for us and print out the
information of what we have connected to our PCI bus on our system.
ls pci command
drivers that are used by the Linux kernel to talk with hardware,
kernel modules
to list out which components of the hardware are being used with which particular kernel modules.
ls pci -k
get more information along with which kernel driver is being used for each individual piece of hardware
ls pci -v
If you want to know which file system each partition contains, you can use the -f option with the lsblk command.
ls pci -f
means that there is only 1 partition on this external hard drive, but it also gets its own separate entry within the /dev
directory.
SDA 1
pertains to the individual partitions that are on this particular disk
N1, N1P1, N1P2.