Created
May 12, 2016 10:08
-
-
Save SilverRainZ/430564ed4ac7fdc1e047f53203c6709f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST_NODE=~/test | |
EXT2FS_PATH=~/hurd/ext2fs | |
load() { | |
mv $EXT2FS_PATH/ext2fs $EXT2FS_PATH/_ext2fs | |
sudo settrans -a $TEST_NODE $EXT2FS_PATH/_ext2fs /dev/hd2 | |
} | |
unload() { | |
sudo settrans -g $TEST_NODE | |
} | |
attach () { | |
sudo gdb $EXT2FS_PATH/_ext2fs --pid $(pidof _ext2fs) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment