lkml.org 
[lkml]   [2004]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: /tmp as ramdisk
Date
Quoting Simon Burke <simon.burke@gmail.com>:
> Stupid question really.
>
> On my servers I'd like to mount /tmp as a ramdisk, for several
> reasons. How would i go about this with linux? Is it as simple as
> putting it in the /etc/fstab? where do i define the size of such a
> disk?

fstab

tmpfs /tmp tmpfs auto,size=256M,uid=0,gid=0,mode=1777 0 0

Your question is a little bit off-topic.
Happy new Year!

--
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.048 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site