]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephfs-shell: allow creating hard and soft links
authordparmar18 <dparmar@redhat.com>
Fri, 22 Apr 2022 09:27:34 +0000 (14:57 +0530)
committerdparmar18 <dparmar@redhat.com>
Wed, 6 Jul 2022 10:12:25 +0000 (15:42 +0530)
commit31a11718e3653ab3a1bedc391433607e48db0233
tree854805a65259ffd4df4ee0ddf46a44fe4be367bb
parent6f459d8bf2396ca28597e87f5fc74593b7a49a84
cephfs-shell: allow creating hard and soft links

Add ln command to cephfs-shell for enabling creation of hard and soft
links. It allows creating hard links to regular files and soft links to
regular files as well as directories. The behaviour of this cephfs-shell
command is kept as close as possible to the ln command from GNU
coreutils.

Test and docs too have been updated for the same.

Fixes: https://tracker.ceph.com/issues/48911
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
src/tools/cephfs/cephfs-shell