Creates a new (hard) link for a file. This means that another directory entry points to the same inode.
ln
EXISTING_FILE
NEW_NAME
Note:
Soft links (via ln -s ...
) are not supported.
Returns:
- 0 on success Syscall: link
Up: user space
File Management: cp | ln | ls | mkdir | mknod | rm | rmdir | stat