Bug in Lab - “Files, directories, hard and soft links” - Q15
The above question does not work at all. How should I create a hard link, if they are not on the same file system?
Unfortunately without Screens, as I wasn’t allowed to upload the screens from question and solution.
[bob@centos-host ~]$ ln /tmp/hlink /home/bob/hlink
ln: failed to create hard link '/home/bob/hlink' => '/tmp/hlink': Invalid cross-device link
[bob@centos-host ~]$ df /tmp /home/bob
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 20134592 8268652 11849556 42% /tmp
overlay 772706776 115997684 617384320 16% /
[bob@centos-host ~]$