dthain / basekernel

A simple OS kernel for research, teaching, and fun.
GNU General Public License v2.0
805 stars 109 forks source link

Copy volume syscall and KevinFS fixes #220

Closed ethanmw closed 5 years ago

ethanmw commented 5 years ago

Squashed version of #186

dthain commented 5 years ago

I believe #219 should bring kevinfs back to baseline so your branch should be working again. The best way to update the PR cleanly is as follows:

# Bring your master branch up to date
git checkout master
git pull origin master

# Rebase your feature branch on the latest master:
git checkout copy-volume-clean
git rebase master

# This will likely result in conflicts, so clean them up:
vi kevinfs.c # and maybe other files
git add kevinfs.c # and maybe other files
git rebase --continue
# Repeat the above until all the commits have been processed

# Once your branch is clean, push it once again.
# But it has a different sequence of commits, so you must force it to overwrite:
git push -f ethanmw copy-volume-clean
dthain commented 5 years ago

Actually, I'm going to go ahead and merge this one, since I'm planning to hack away on kevinfs anyhow..

dthain commented 5 years ago

Merged with some modifciations: the system call now works on two kobjects, while a new kshell operation "install" does the work of opening and mounting volumes.