From the course: Advanced Linux: The Linux Kernel
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Solution - CentOS Tutorial
From the course: Advanced Linux: The Linux Kernel
Challenge: Solution
(peppy music) - [Instructor] Okay, let's look at doing the challenge for chapter four. So the first question is fetch the ubuntu kernel source. And to do that I used the get clone command. And I timed that and it took a little over seven minutes here on my system. And it created a directory called ubuntu-eoan. I'm going to change the directory into there. And there we have the kernel source. Then it says for your kernel do make cscope and make tags. So let's time that. Time make cscope. So the make cscope took a little over 46 seconds. Now let's make tags. There we go, the make tags took over three minutes. Then the next question in the challenge it says test the the c tags facility of the Vi text editor. So you might want to try cscope on your own. But here let's look at tags. So I'm just going to start Vi. Doesn't have much to say and step A here look up the function in the last kernel called sys_open. So I'm going…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Get the kernel source8m 23s
-
(Locked)
Explore the kernel makefile4m 59s
-
(Locked)
Examine and build kernel documentation6m 2s
-
(Locked)
Search the kernel source7m 58s
-
(Locked)
Examine kernel driver source4m 2s
-
(Locked)
Additional selected subdirectories8m 49s
-
(Locked)
Challenge: Linux kernel source code26s
-
(Locked)
Challenge: Solution4m 5s
-
(Locked)
-
-