*BSD News Article 66083


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!news.sprintlink.net!new-news.sprintlink.net!worldlinx.com!gateman.zeus.leitch.com!not-for-mail
From: dchapes@zeus.leitch.com (Dave Chapeskie)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to setup a RAM DISK?
Date: 16 Apr 1996 15:05:43 -0400
Organization: Leitch Technology International Inc.
Lines: 23
Message-ID: <4l0r27$3ud@ale.zeus.leitch.com>
References: <4kpi63$oot@ustsu10.ust.hk> <4kre0r$7el@uriah.heep.sax.de> <4kuoq1$r5h@hermes.acs.unt.edu>
NNTP-Posting-Host: ale.zeus.leitch.com

In article <4kuoq1$r5h@hermes.acs.unt.edu>,
Bruce Jackson <jackson@replicant.csci.unt.edu> wrote:
>In article <4kre0r$7el@uriah.heep.sax.de>,
>J Wunsch <joerg_wunsch@uriah.heep.sax.de> wrote:
>>eg_lcx@uxmail.ust.hk (Water Dargon) writes:
>> mount_mfs -s 20000 /dev/sd0b /tmp
>
>> with: 20000 blocks (~ 10 MB), backed to the swap area /dev/sd0b,
>> mounted to /tmp.
>
>You are better off not specifying the size.  That way it can grow
>as needed.  So long as you do not need a lot of /tmp space and
>a lot of swap space at the same time there shouldn't be a problem.

    I don't know about you, but I'd _much_ rather have a program exit
with a write error because /tmp is full than have mfs exhaust swap space
and potentially cause a random process to be terminated.  Especially on
a multiuser system with a world-writable directory like /tmp.

-- 
Dave Chapeskie
Leitch Technology International Inc.
Email: dchapes@zeus.leitch.com