diff options
Diffstat (limited to 'man2/link.2')
-rw-r--r-- | man2/link.2 | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/man2/link.2 b/man2/link.2 index 576b5510b..6bb47749c 100644 --- a/man2/link.2 +++ b/man2/link.2 @@ -30,7 +30,7 @@ Standard C library .P .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .BR linkat (): @@ -107,7 +107,7 @@ If is an empty string, create a link to the file referenced by .I olddirfd (which may have been obtained using the -.BR open (2) +.MR open 2 .B O_PATH flag). In this case, @@ -158,7 +158,7 @@ Before Linux 2.6.18, the argument was unused, and had to be specified as 0. .P See -.BR openat (2) +.MR openat 2 for an explanation of the need for .BR linkat (). .SH RETURN VALUE @@ -177,7 +177,7 @@ in the path prefix of or .IR newpath . (See also -.BR path_resolution (7).) +.MR path_resolution 7 .) .TP .B EDQUOT The user's quota of disk blocks on the filesystem has been exhausted. @@ -201,11 +201,11 @@ The file referred to by .I oldpath already has the maximum number of links to it. For example, on an -.BR ext4 (5) +.MR ext4 5 filesystem that does not employ the .I dir_index feature, the limit on the number of hard links to a file is 65,000; on -.BR btrfs (5), +.MR btrfs 5 , the limit is 65,535 links. .TP .B ENAMETOOLONG @@ -242,13 +242,13 @@ The caller does not have permission to create a hard link to this file (see the description of .I /proc/sys/fs/protected_hardlinks in -.BR proc (5)). +.MR proc 5 ). .TP .B EPERM .I oldpath is marked immutable or append-only. (See -.BR ioctl_iflags (2).) +.MR ioctl_iflags 2 .) .TP .B EROFS The file is on a read-only filesystem. @@ -298,7 +298,7 @@ open(path, O_TMPFILE | O_EXCL, mode); .in .IP See -.BR open (2). +.MR open 2 . .TP .B ENOENT An attempt was made to link to a @@ -406,20 +406,20 @@ Hard links, as created by .BR link (), cannot span filesystems. Use -.BR symlink (2) +.MR symlink 2 if this is required. .SH BUGS On NFS filesystems, the return code may be wrong in case the NFS server performs the link creation and dies before it can say so. Use -.BR stat (2) +.MR stat 2 to find out if the link got created. .SH SEE ALSO -.BR ln (1), -.BR open (2), -.BR rename (2), -.BR stat (2), -.BR symlink (2), -.BR unlink (2), -.BR path_resolution (7), -.BR symlink (7) +.MR ln 1 , +.MR open 2 , +.MR rename 2 , +.MR stat 2 , +.MR symlink 2 , +.MR unlink 2 , +.MR path_resolution 7 , +.MR symlink 7 |