tmpfs size restriction

Kris Kennaway kris at FreeBSD.org
Thu Nov 29 11:56:59 PST 2007


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



More information about the freebsd-fs mailing list