Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
katevy
Team_Safdar
Commits
9e885fe1
Commit
9e885fe1
authored
Nov 11, 2016
by
root
Browse files
README.md typo
parent
a6f1fb18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
extractmd/README.md
extractmd/README.md
+30
-0
No files found.
extractmd/README.md
0 → 100644
View file @
9e885fe1
11/11/2016 v1.0
in extractmd.h
ext4_super_group -> extractmd_super_group
ext4_group_desc -> extractmd_group_desc
How to use?
1.
in your command line
insert extractmd kernel module.(needs root permit)
~#insmod extractmd.ko
2.
Then, you should make a test code.
"test.c" is an example.
/
* Open *
/
int fd = open("/dev/extractmd", O_RDWR);
/
* super_block in user space *
/
struct extractmd_super_block super_block;
/
* ioctl will copy super_block from kernel space *
/
inctl(fd,
&super_block);
/
*
Now super_block is copied
*
...do sometiing here with super_block...
*
/
/
* Close *
/
close(fd);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment