elliott-beach / project3

http://www-users.cselabs.umn.edu/classes/Fall-2017/csci5103/PROJECT/PROJECT3/project3.pdf
0 stars 0 forks source link

Kernel.link #1

Closed elliott-beach closed 6 years ago

elliott-beach commented 6 years ago

Add the method Kernel.link(path1, path2). This creates path2 as a hard link to path1. It should:

Tests: write a new program, ln.cc, which, given two path names, links the first to the second.

Creating a link to a directory is not allowed.

elliott-beach commented 6 years ago

What mode will the link be created in? - Probably we just copy the mode from the src file descriptor. Questions for the TA:

elliott-beach commented 6 years ago

woo!