This program will creates a new file from an existing file. The old file could be in any directory, with the new file will be in the root directory.
- David Thigpen
- Chase Cloutier
- David Stenson
- Eric Larson
- Allocate a new inode (unused)
- Copy all information from the old file inode to the new file inode.
- Make a new name for the new file.
- Link the new file inode in the root directory inode.
- Do ls in the root directory. The file name you created should show in ls command.
- Open the file to make sure everything is same as in old file.
- Download the module:
cd digital-forensics/src/linux
git clone https://github.com/dthigpen/digital-forensics-file-copy.git copyfile
- Add the module to the Makefile sections as you would any module:
- .PHONY section
- all config
- new config for copyfile
- clean config
This repository requires you to run the following commands:
cd copyfile/
git clone https://github.com/troydhanson/uthash.git