Date: Fri, 29 Jan 2010 12:09:14 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man5 tmpfs.5 src/sys/fs/tmpfs tmpfs_vfsops.c Message-ID: <201001291213.o0TCDEjt031745@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001291213.o0TCDEjt031745>
