/tmp as ramdisk
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?
Signature · 4 lines
Theres no place like ::1 Thanks, SimonB
Quoting Simon Burke <[email protected]>:
Quoted 6 lines
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!
Signature · 1 line
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
Quoted 6 lines · Simon Burke
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
Signature · 3 lines
William Park <[email protected]> Open Geometry Consulting, Toronto, Canada Linux solution for data processing.