Date: Sat, 6 Jul 2002 22:14:22 +0100 (BST) From: Chris Hedley <cbh@teabag.demon.co.uk> To: ticso@cicely.de Cc: current@FreeBSD.ORG Subject: Re: Possible solution to /tmp on md filesystem Message-ID: <20020706221005.B684-100000@teabag.cbhnet> In-Reply-To: <20020706205552.GD23704@cicely5.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Jul 2002, Bernd Walter wrote: > I abused diskless_mount for md filesystems: Either solution's preferable to my first inelegant attempt at an rc.tmp involving making a complete pigs' ear of rc! :) > [351]cicely5> cat /etc/rc.md > DEV=`mdconfig -a -t swap -s 1400M` > disklabel -r -w ${DEV} auto > newfs /dev/${DEV}c > tunefs -n enable /dev/${DEV}c > mount /dev/${DEV}c /tmp > chmod 1777 /tmp ... snip ... > [352]cicely5> grep rc.md /etc/rc.conf > diskless_mount="/etc/rc.md" > > It's running fine on i386. > md currently doesn't work on alpha because of 8k pagesize brokenness. I used the same procedure, but with the size set to 1G (on i386) I kept getting some sort of overrun problem with newfs; I wasn't able to track down the cause to either newfs or disklabel, but creating a separate "a" partition seems to have done the trick in my case. Unfortunately I can't say for certain if that fixes the problem or merely avoids it. Cheers, Chris. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020706221005.B684-100000>