[Solved] Why can't I create a hard link?


FreeMan

Recommended Posts

I can create a symlink to a file, but when I attempt to create a hard link, I get `Function not implemented`. What do I need to install to be able to create a hard link?


root@NAS:/mnt/user/Data/linktest# ls -la
total 0
drwxrwxrwx 1 root   root   0 Sep  7 11:00 ./
drwxrwxrwx 1 nobody users 32 Sep  7 11:00 ../
root@NAS:/mnt/user/Data/linktest# touch ActuaFile.txt
root@NAS:/mnt/user/Data/linktest# ls -la
total 0
drwxrwxrwx 1 root   root  26 Sep  7 11:00 ./
drwxrwxrwx 1 nobody users 32 Sep  7 11:00 ../
-rw-rw-rw- 1 root   root   0 Sep  7 11:00 ActuaFile.txt
root@NAS:/mnt/user/Data/linktest# ln ActuaFile.txt HardLink.txt
ln: failed to create hard link 'HardLink.txt' => 'ActuaFile.txt': Function not implemented
root@NAS:/mnt/user/Data/linktest# ln -s ActuaFile.txt SoftLink.txt
root@NAS:/mnt/user/Data/linktest# ls -la
total 4
drwxrwxrwx 1 root   root  50 Sep  7 11:03 ./
drwxrwxrwx 1 nobody users 32 Sep  7 11:00 ../
-rw-rw-rw- 1 root   root   0 Sep  7 11:00 ActuaFile.txt
lrwxrwxrwx 1 root   root  13 Sep  7 11:03 SoftLink.txt -> ActuaFile.txt
root@NAS:/mnt/user/Data/linktest#

 

Edited by FreeMan
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.