Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions External Tools Demo
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//Here is a demo of how to use external-tools.
//By Junyu Chen



checking the empty block-device:
hexedit block-device.data

format the block-device:
java external_tools.ExternalTools 0

checking the formatted block-device:
hexedit block-device.data

checking the makefile function when no such file exits:
java external_tools.ExternalTools 1 hoho.txt

make the file, assuming that the file exists in the same directory with the block-device.data:
java external_tools.ExternalTools 1 hoho.txt

read the file:
java external_tools.ExternalTools 2 hoho.txt

delete the file:
java external_tools.ExternalTools 3 hoho.txt

try to read it again:
java external_tools.ExternalTools 2 hoho.txt