From the course: Linux Device Drivers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Solution: Write a block driver

Solution: Write a block driver - Linux Tutorial

From the course: Linux Device Drivers

Start my 1-month free trial

Solution: Write a block driver

(upbeat music) - [Instructor] All right, let's look at solving these challenges. So the first one, we're going to time grepping for something underneath user/share, and we're going to time it after we've already done it. So we've got as much in the buffers as we can, and then we're going to drop the cash as it were in time and again. And then the second question is to do free before and after doing that stuff. So let's just combine those two. Let's see how this goes. So let's recursively grep for XYZZYX. By the way, if you see the string XYZZY in different places and you go where that string come from? Well, that was a secret password for the game called adventure, which dates back to the 70's. One of the first, really popular computer games. And it was all text-based and you would move from room to room by typing commands on your keyboard and XYZZY at special powers. So I love that word. And then I add an X just so…

Contents