Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I uncompress the Linux kernel source code from, there are many folders. I know what most of them contain and their purpose. However, I cannot figure out or find on the Internet the purpose for the tools, samples, and block directories. What are these three directories and what is their purpose?

share|improve this question
up vote 4 down vote accepted

I have figured out that the block folder contains source code for block-device drivers, samples is example programming, and tools contains tools for interacting with the kernel.

share|improve this answer
The samples folder also contains modules that were started, but no maintainer has taken over. New kernel developers can look through here for a module that they would like to develop for the Linux Kernel team. – Devyn Collier Johnson Jun 9 '13 at 12:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.