From owner-freebsd-fs@FreeBSD.ORG Thu Nov 29 19:56:59 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83FEF16A419; Thu, 29 Nov 2007 19:56:59 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AAAFA13C47E; Thu, 29 Nov 2007 19:56:58 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <474F1995.8050501@FreeBSD.org> Date: Thu, 29 Nov 2007 20:57:09 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Gergely CZUCZY References: <20071129125020.GA76754@harmless.hu> In-Reply-To: <20071129125020.GA76754@harmless.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, delphij@FreeBSD.org Subject: Re: tmpfs size restriction X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 19:56:59 -0000 Gergely CZUCZY wrote: > Hello, > > I've got a question about tmpfs(5) in 7. It's a very good > way to have a /tmp filesystem, it's really neat, but can the > size of the tmpfs filesystem be restricted somehow? > > It seems to be a bit dangerous, if we take into account > out-of-control processes writing to a world-writable place, > such as /tmp. -o size=<#bytes>. This appears not to be documented in the manpage (at least not in tmpfs(5)). Kris