Mount the proc and sysfs filesystems, and read and write files there.
- [Voiceover] Surveying the Linux Kernel,…let's look more at /proc, /sys, and device files.…Virtual Filesystems that we talked about proc and sysfs…that means these virtual filesystems don't store…their contents on a disk,…more accurately they generate their contents…when you ask for it.…When you cat a file in proc or sys,…there's some corresponding function in the kernel…that's called to generate the contents.…These are not RAM-based filesystems.…RAM filesystems store their contents in RAM.…
Virtual filesystems generate their contents…when you ask for it, like callback functions.…proc got its name from process, and the proc filesystem…is normally mounted on /proc.…That's done early on in the boot process.…proc contains lots of process information,…as can be expected, plus lots, lots more.…This essentially is information about the state…of the kernel.…A lot of utilities get information about the kernel…from the proc directory.…
The ps command, process status, gets its information…from the proc directory.…A real important part of proc is a subdirectory sys…
We survey the Linux kernel specification, boot process, and loadable kernel modules. You will practice techniques such as downloading and searching Linux kernel source code and configuring a Linux kernel from scratch. Challenge and solution videos at the end of almost every chapter allow you to test your new Linux skills along the way.
- What is the Linux kernel?
- Controlling hardware
- Reading Linux kernel messages
- Reading and writing files from the proc and sysfs filesystems
- Configuring GRUB
- Using kernel command-line parameters
- Configuring run levels
- Working with loadable kernel modules (LKMs)
- Searching the kernel source code
- Building and installing a Linux kernel
Skill Level Advanced
1. Surveying the Linux Kernel
3. Working with Loadable Kernel Modules
4. Examining Linux Kernel Source Code
5. Configuring and Building a Linux Kernel
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.