Symlinking /home and /tmp with bsdinstaller to save space

Joerg Sonnenberger joerg at britannica.bec.de
Tue Nov 23 08:33:58 PST 2004


On Tue, Nov 23, 2004 at 02:37:29PM +0000, Jonathon McKitrick wrote:
> On Tue, Nov 23, 2004 at 02:48:18PM +0100, Joerg Sonnenberger wrote:
> : On Tue, Nov 23, 2004 at 01:18:56PM +0000, Jonathon McKitrick wrote:
> : > 
> : > I'm going to reinstall DFly from scratch onto my 4Gig laptop.  I'd rather
> : > not have separate partitions for /home and /var or any others that are
> : > absolutely necessary.
> : 
> : I *strongly* advice against having /tmp and /var on either / or /usr.
> 
> Even for a standalone workstation?
> 
> On my 4Gig HD, I just keep thinking there has to be a way to optimize the
> amount of space that is sitting there unused in /tmp and /var.

Well, like I said. Use a mfs for /tmp, e.g. in /etc/fstab:
swap	/tmp	mfs	rw,-s512000	0	0
to create a 256 MB /tmp, swap backed.

I usually have 256 MB laying around for /var, which includes /var/tmp and
that one can sometimes grow. So you lose 256 MB :)

Joerg





More information about the Users mailing list