public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /tmp as ramdisk
@ 2004-12-31 17:41 Simon Burke
  2004-12-31 17:47 ` Michael Buesch
  2004-12-31 18:01 ` William Park
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Burke @ 2004-12-31 17:41 UTC (permalink / raw)
  To: linux-kernel

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?
-- 
Theres no place like ::1

Thanks,
SimonB

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /tmp as ramdisk
  2004-12-31 17:41 /tmp as ramdisk Simon Burke
@ 2004-12-31 17:47 ` Michael Buesch
  2004-12-31 18:01 ` William Park
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Buesch @ 2004-12-31 17:47 UTC (permalink / raw)
  To: Simon Burke; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

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 ]


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /tmp as ramdisk
  2004-12-31 17:41 /tmp as ramdisk Simon Burke
  2004-12-31 17:47 ` Michael Buesch
@ 2004-12-31 18:01 ` William Park
  1 sibling, 0 replies; 3+ messages in thread
From: William Park @ 2004-12-31 18:01 UTC (permalink / raw)
  To: Simon Burke; +Cc: linux-kernel

On Fri, Dec 31, 2004 at 05:41:43PM +0000, Simon Burke wrote:
> 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?

mount -t tmpfs tmpfs /tmp

-- 
William Park <opengeometry@yahoo.ca>
Open Geometry Consulting, Toronto, Canada
Linux solution for data processing. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-31 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-31 17:41 /tmp as ramdisk Simon Burke
2004-12-31 17:47 ` Michael Buesch
2004-12-31 18:01 ` William Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox