From owner-freebsd-sparc Thu Dec 19 14:54:54 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5DE937B401 for ; Thu, 19 Dec 2002 14:54:52 -0800 (PST) Received: from web41313.mail.yahoo.com (web41313.mail.yahoo.com [66.218.93.62]) by mx1.FreeBSD.org (Postfix) with SMTP id 631DA43ED8 for ; Thu, 19 Dec 2002 14:54:52 -0800 (PST) (envelope-from baby_p_nut@yahoo.com) Message-ID: <20021219225452.77310.qmail@web41313.mail.yahoo.com> Received: from [198.80.171.28] by web41313.mail.yahoo.com via HTTP; Thu, 19 Dec 2002 14:54:52 PST Date: Thu, 19 Dec 2002 14:54:52 -0800 (PST) From: Baby Peanut Subject: ramdisk /tmp To: FreeBSD-sparc@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org install as -rwxr-xr-x 1 root wheel 304 Dec 12 17:36 /etc/rc.d/md_tmp #! /bin/sh # PROVIDE: tmp # REQUIRE: addswap # BEFORE: sysctl # KEYWORD: FreeBSD . /etc/rc.subr name="md_tmp" start_cmd="md_tmp_start" stop_cmd=":" md_tmp_start() { mdconfig -a -t swap -s 256M -u 10 newfs /dev/md10 mount /dev/md10 /tmp chmod 1777 /tmp } load_rc_config $name run_rc_command "$1" __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message