Re: QUOTA [with patch this time (for man)]

William Burrow (aa126@fan.nb.ca)
Fri, 13 Dec 1996 23:26:43 -0400 (AST)


Here is a patch for the man page. Is this OK, and where is it forwarded to?

diff -u --recursive --new-file man2-19940817/link.2 man2/link.2
--- man2-19940817/link.2 Fri Dec 13 23:06:35 1996
+++ man2/link.2 Fri Dec 13 23:22:57 1996
@@ -48,6 +48,11 @@
both names refer to the same file (and so have the same permissions
and ownership) and it is impossible to tell which name was the
`original'.
+
+If
+.B quotas
+are enabled on the filesystem, then the user must be the owner of the
+file for the operation to succeed.
.SH "RETURN VALUE"
On success, zero is returned. On error, \-1 is returned, and
.I errno
@@ -59,9 +64,15 @@
are not on the same filesystem.
.TP
.B EPERM
-The filesystem containing
+.I oldpath
+is the
+.B . " or " ..
+entry of a directory;
+the filesystem containing
.IR oldpath " and " newpath
-does not support the creation of hard links.
+does not support the creation of hard links; or
+.B quotas
+are enabled on the filesystem and the user is not the owner of the file.
.TP
.B EFAULT
.IR oldpath " or " newpath " points outside your accessible address space."
@@ -110,12 +121,6 @@
.B ENOSPC
The device containing the file has no room for the new directory
entry.
-.TP
-.B EPERM
-.I oldpath
-is the
-.B . " or " ..
-entry of a directory.
.SH NOTES
Hard links, as created by
.BR link ,

--
William Burrow  --  Fredericton Area Network, New Brunswick, Canada
Copyright 1996 William Burrow  
Canada's federal regulator says it may regulate content on the Internet to
provide for more Canadian content.   (Ottawa Citizen 15 Nov 96 D15)