mintCast 328.5 – Everything Is a File
Join us in our Innards section where we talk Linux and hardware guts.
And finally, our listener feedback.
LINUX INNARDS:
Linux Hardware Kernel Module Deep Drive
Bo, Leo, Joe
- Dmesg – shows all messages from initialization at boot
- Journalctl – systemd utility similar to dmesg
- Shows all journaled entries from systemd
- Pipe and grep are your friend
- Kernel modules – similar to drivers. Modules used by the system to use hardware./
- Lsmod
- Lspci
- Lsusb
- Modprobe
- rmmod
- /sys (sysfs)
- Pseudo file system
- Linux kernel writes files here containing information about various subsystems, hardware devices, and associated device drivers
- /proc (procfs)
- Contains directory for each running process
- Also contains hardware related modules and device files
- /dev (udev)
- Linux sees hardware as a file
- Hardware devices are mapped to files in /dev
- Udev is the service that maps hardware to files in /dev
- /etc/udev/rules.d
- /lib/udev/rules.d
- Sda
- Links
- Uuid
- Netlink socket – used to transfer information between the kernel and userspace
- Plug in usb > detected by the kernel > updates /sys > sends message to netlink socket > Udev is listening to netlink socket for changes > udev checks rules.d > creates file in /dev > dbus daemon would send out notification of added device
VIBRATIONS FROM THE ETHER:
- John Wallis
- Leo’s Response
- systemctl list-units –type service –failed
- Brad Alexander
- David Yutzy
- Jim Daldry
CHECK THIS OUT!
- Moss
- Joe
- Bo
Announcements:
- Our Next Episode will be live Feb 23, 2020. 2PM CST, 8PM UTC
Wrap-up:
- Joe – www.Tllts.org linuxlugcast.com MeWe [email protected]
- Bo – ecnradio.com
- Moss – Triad Bardic College, Peaceful Hippo, MeWe, music on Bandcamp and Moss Bliss’ YouTube channel or Robert Warren’s channel, I should have my ReverbNation site back soon, [email protected], [email protected], Sponsus (Now with Tiers, and a Donate Button!)!
- Tony Hughes – HPR – http://hackerpublicradio.org/correspondents.php?hostid=338 Occasional Blog https://tony-hughes.blogspot.com/ Twitter @TonyH1212, [email protected] [email protected]
- Tony Watts – [email protected], Echoes of Savages (band)
- Josh – [email protected], [email protected], edublocks.org and @all_about_code on Twitter
- Leo – leochavez.org and @leochavez on Twitter, and you can get your five minute news digest at Full Circle Weekly News
Before we leave, we want to make sure to acknowledge some of the people who make mintCast possible …
- Josh for all his work on the website and the livestream
- Bytemark Hosting for hosting mintcast.org and our Mumble server
- Archive.org for hosting our audio files
- The Linux Mint development team for the fine distro we love to talk about (Thanks, Clem!)
Podcast: Play in new window | Download
Subscribe: RSS