From owner-cvs-src-old@FreeBSD.ORG Fri Jan 29 12:13:14 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9152D106566B for ; Fri, 29 Jan 2010 12:13:14 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8B78FC15 for ; Fri, 29 Jan 2010 12:13:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o0TCDEGU031746 for ; Fri, 29 Jan 2010 12:13:14 GMT (envelope-from jh@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0TCDEjt031745 for cvs-src-old@freebsd.org; Fri, 29 Jan 2010 12:13:14 GMT (envelope-from jh@repoman.freebsd.org) Message-Id: <201001291213.o0TCDEjt031745@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jh@repoman.freebsd.org using -f From: Jaakko Heinonen Date: Fri, 29 Jan 2010 12:09:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man5 tmpfs.5 src/sys/fs/tmpfs tmpfs_vfsops.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2010 12:13:14 -0000 jh 2010-01-29 12:09:14 UTC FreeBSD src repository Modified files: share/man/man5 tmpfs.5 sys/fs/tmpfs tmpfs_vfsops.c Log: SVN rev 203164 on 2010-01-29 12:09:14Z by jh Add "maxfilesize" mount option for tmpfs to allow specifying the maximum file size limit. Default is UINT64_MAX when the option is not specified. It was useless to set the limit to the total amount of memory and swap in the system. Use tmpfs_mem_info() rather than get_swpgtotal() in tmpfs_mount() to check if there is enough memory available. Remove now unused get_swpgtotal(). Reviewed by: Gleb Kurtsou Approved by: trasz (mentor) Revision Changes Path 1.6 +2 -0 src/share/man/man5/tmpfs.5 1.25 +8 -57 src/sys/fs/tmpfs/tmpfs_vfsops.c