©2018 by Zach Pfeffer

SEARCH THIS SITE

A Quick debugfs Example

March 7, 2018

 

This posts shows how to create, build and run a quick debugfs tree on QEMU. 

 

Prerequisites

 

If you want to build and run the code go through Build the Linux kernel and Busybox and run them on QEMU

 

The Code

 

 

Build It

 

1. Set up a few variables

2. Save the code to a file called

3. Edit this file

4. Add this line at the top

5. Build the kernel

If you see something like:

Things are likely working.

 

 

Run It

 

1. Open a new terminal

 

2. Run

If you see something like (you may need to hit Enter to get the prompt):

Things are likely working.

 

 

Test It

 

1. On the terminal in QEMU run

 If you see lots of output like:

Things are likely working.

 

 

Reference

 

Used https://www.freeformatter.com/html-escape.html

link

 

Please reload

Our Recent Posts

Army 20.1 SBIR TABA Funding Clarification: is $5k "On Top" of the $167,500 Available?

February 18, 2020

Contents of DoD SBIR/STTR 20.1 Cost Volume Info Pop-Ups: Fringe Benefits, Fully Loaded Labor Rate, etc. and Labor Categories

February 9, 2020

Finding Resources for Learning about Fringe, Overhead and General Management and Administration (G&A) Cost Allocation for Army SBIR Proposals

February 8, 2020

1/1
Please reload

Tags

Please reload