如果您试图创建跨越文件系统或用于目录的硬链接,您会得到一个错误。
You will get an error if you attempt to create hard links that cross file systems or that are for directories.
文件系统上每一个目录都有一个点的名称(一个硬链接)。
Every directory on the filesystem has a name (a hard link) of dot.
一个硬链接是指向inode的一个目录条目,而一个软链接或符号链接是指向提供另一目录条目名称的inode的一个目录条目。
A hard link is a directory entry that points to an inode, while a soft link or symbolic link is a directory entry that points to an inode that provides the name of another directory entry.
应用推荐