1
00:00:00,002 --> 00:00:05,002
(bouncy intro music)

2
00:00:05,002 --> 00:00:06,007
- [Instructor] We have a couple challenge questions

3
00:00:06,007 --> 00:00:08,009
having to do with how many module files are there

4
00:00:08,009 --> 00:00:12,000
and how many lines in the modules.dep file.

5
00:00:12,000 --> 00:00:20,007
So let's start by changing directory.

6
00:00:20,007 --> 00:00:22,009
There we go.

7
00:00:22,009 --> 00:00:25,005
We can see the kernel I'm running here is

8
00:00:25,005 --> 00:00:29,002
68.0, yada yada.

9
00:00:29,002 --> 00:00:33,007
Do a list. We got some files, we got some sub directories.

10
00:00:33,007 --> 00:00:38,009
Let's start off by counting all the .ZST files.

11
00:00:38,009 --> 00:00:46,000
A little bit of fine command magic

12
00:00:46,000 --> 00:00:51,008
and I get 854 modules are built for this kernel.

13
00:00:51,008 --> 00:00:54,000
Later on, we'll look how many we're actually using.

14
00:00:54,000 --> 00:00:57,003
It'll be a lot less than 854.

15
00:00:57,003 --> 00:00:58,005
And then the other question was

16
00:00:58,005 --> 00:01:01,006
how many lines are in modules.dep?

17
00:01:01,006 --> 00:01:08,002
So that's pretty easy also with WC -l.

18
00:01:08,002 --> 00:01:12,000
854, that's not a coincidence.

19
00:01:12,000 --> 00:01:17,004
There's a line in modules.dep for each module file,

20
00:01:17,004 --> 00:01:20,007
and it'll list dependencies for that file.

21
00:01:20,007 --> 00:01:23,000
We'll talk more about that later.

