From owner-freebsd-questions Wed Jul 26 9:21:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from KIWI-Computer.com (kiwi-computer.com [63.224.10.3]) by hub.freebsd.org (Postfix) with ESMTP id CC0D437BC90 for ; Wed, 26 Jul 2000 09:21:23 -0700 (PDT) (envelope-from freebsd@KIWI-Computer.com) Received: (from freebsd@localhost) by KIWI-Computer.com (8.9.3/8.9.3) id LAA33265; Wed, 26 Jul 2000 11:19:33 -0500 (CDT) (envelope-from freebsd) From: FreeBSD Message-Id: <200007261619.LAA33265@KIWI-Computer.com> Subject: Re: restarting w/o rebooting In-Reply-To: <20000725155826.B29415@dogma.freebsd-uk.eu.org> from j mckitrick at "Jul 25, 2000 03:58:26 pm" To: j mckitrick Date: Wed, 26 Jul 2000 11:19:33 -0500 (CDT) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am testing new firewall rules, and i would like to restart the appropriate > progs without rebooting , which is what i do now. > (you can tell i've been around windows too much :) Just a side-note, dropping into single-user mode & exiting is a much faster way of "rebooting" without reloading your kernel (if you rebuild your kernel, you're stuck with waiting for that pesky BIOS post). It saves much time if you're just testing your /etc/rc scripts & bootup options... As root, use just plain "shutdown now", it'll ask you for root's shell, default /bin/sh; just hit return, then type "exit" to re-run init & your rc scripts. Note that this doesn't umount/mount file systems nor does it change other kernel-stored options such as your firewall rules, but when your /etc/rc.firewall or similar script runs, a line such as: $fwcmd -f flush will remove all firewall rules. That line should be in your fw script near the beginning anyway... (Stay away from windows-- From what I hear, vmware is pretty nice, albeit a memory-hog; and I've had better luck w/ hardware in fbsd than w/ windoze - even in PnP mode! ;) -- Rick C. Petty To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message