Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2003 23:53:42 -0700
From:      jason <jason@ec.rr.com>
To:        Dragoncrest <dragoncrest@voyager.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Got a problem, need to enlarge /tmp
Message-ID:  <3F7BCB76.8010902@ec.rr.com>
In-Reply-To: <5.2.0.9.2.20031001222743.01fb2550@pop.voyager.net>
References:  <5.2.0.9.2.20031001222743.01fb2550@pop.voyager.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Dragoncrest wrote:

>     I've got a sight problem I need help with.  Trying to install 
> WolfET on my Freebsd workstation and it requires something like 286 
> megs of free space on /tmp.  My /tmp is only 256.  So I'm kinda sunk.  
> Any way I can enlarge this short of a complete wipe and repartition of 
> the drive?  Or can I temporarily mount another drive to /tmp, install 
> the game, then umount/mount back to what it was?  I know I probubly 
> should have made my /tmp 512megs, but when I was originally installing 
> this box I didn't think about that at the time.  Is there a way to 
> work around this problem or am I kinda screwed in general?
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>
That is easy.  Type man mdmfs for details, the quick explaination is to 
make a memory file system and mount it at /tmp.  After a reboot or 
unmounting the mfs is gone without a trace and /tmp was the way it was 
before, also if there are files in /tmp before you start they disappear 
after a mounting and reapear after unmounting.  So this should do it:

$mdmfs -s 512m md /tmp

a 512MB swap backed file system mounted at /tmp.
jason





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7BCB76.8010902>