Bug 79298

Summary: intro(2) man page has incorrect description of EFBIG
Product: Documentation Reporter: Ed Schouten <ed>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ed Schouten 2005-03-28 11:10:01 UTC
      The intro(2) man page has the following description of EFBIG:

27 EFBIG File too large.  The size of a file exceeded the maximum (about 2.1E9 bytes).

which is incorrect. 2.1*10^9 bytes (2 GiB), isn't the maximum file size in the FreeBSD Operating System.

Fix: 

NetBSD and OpenBSD state the following in their man page:

27 EFBIG File too large.  The size of a file exceeded the maximum.  (The system-wide maximum file size is 2**63 bytes.  Each file system may impose a lower limit for files contained within it.)

This description is valid.
How-To-Repeat:       $ man 2 intro
Comment 1 Daniel Gerzo 2005-03-28 21:04:16 UTC
Hey freebsd-gnats-submit,

--- intro.2.orig        Mon Mar 28 22:48:42 2005
+++ intro.2     Mon Mar 28 22:53:26 2005
@@ -215,10 +215,9 @@
 .Xr open 2
 call requested write access.
 .It Er 27 EFBIG Em "File too large" .
-The size of a file exceeded the maximum (about
-.if t 2\u\s-231\s+2\d
-.if n 2.1E9
-bytes).
+The size of a file exceeded the maximum.  (The system-wide maximum
+file size is 2**63 bytes.  Each file system may impose a lower
+limit for files contained within it.)
 .It Er 28 ENOSPC Em "No space left on device" .
 A
 .Xr write 2  

-- 
Sincerely,

+----------==/\/\==----------+       (__)      FreeBSD
|  DanGer <danger@rulez.sk>  |    \\\'',)      The
| DanGer@IRCnet ICQ261701668 |      \/  \ ^    Power
|   http://danger.rulez.sk   |      .\._/_)    To
+----------==\/\/==----------+                 Serve
Comment 2 John-Mark Gurney freebsd_committer freebsd_triage 2005-08-01 18:51:31 UTC
State Changed
From-To: open->closed

I removed the file size limit verbage..  There are other better places 
that this should be documented, like in the fs pages...