Commit c8130f86 authored by mincheol's avatar mincheol
Browse files

README updated

parent 4d0656fc
cmd_/home/user/Team_Safdar/kernelmode_solution/extractmd.ko := ld -r -m elf_x86_64 -T ./scripts/ --build-id -o /home/user/Team_Safdar/kernelmode_solution/extractmd.ko /home/user/Team_Safdar/kernelmode_solution/extractmd.o /home/user/Team_Safdar/kernelmode_solution/extractmd.mod.o
This diff is collapsed.
This diff is collapsed.
Kernel module tutorial
1. Compile : If you don’t want to compile the module, then skip to 2.
1. Compile : If you are using linux-4.4.0-51-generic(Ubuntu 16.04), there is a pre-compiled module “extractmd-4.4.0.ko”. For linux-4.0.9, use “extractmd.ko”.
Otherwise, comile the module on your machine.
2. Load module
#insmod extractmd.ko
#insmod extractmd.ko (or extractmd-4.4.0.ko for linux-4.4.0)
3. Start extraction
#./start [device] [mount point] [path-to-store-files]
For example : #./start /dev/sdb /mnt ./md
This will extract metadata of target device and store files on ./md
4. If you want to remove module
#rmmod extractmd
11/27/2016 v4.0
Now can extract reserved GDT, journal
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment