From owner-freebsd-current Sun Jan 10 12:40:15 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10801 for freebsd-current-outgoing; Sun, 10 Jan 1999 12:40:15 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from float.dyn.ml.org (h24-64-221-247.gv.wave.shaw.ca [24.64.221.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10791 for ; Sun, 10 Jan 1999 12:40:10 -0800 (PST) (envelope-from jake@h24-64-221-247.gv.wave.shaw.ca) Received: from h24-64-221-247.gv.wave.shaw.ca (localhost [127.0.0.1]) by float.dyn.ml.org (8.9.1/8.9.1) with ESMTP id MAA48069 for ; Sun, 10 Jan 1999 12:39:37 -0800 (PST) (envelope-from jake@h24-64-221-247.gv.wave.shaw.ca) Message-Id: <199901102039.MAA48069@float.dyn.ml.org> X-Mailer: exmh version 2.0.2 2/24/98 To: current@FreeBSD.ORG Subject: a standard way to start vinum? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 10 Jan 1999 12:39:37 -0800 From: Jake Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can we have stubs to start vinum added to /etc/rc and /etc/rc.conf ? Something like: in rc.conf : vinum_enable="YES" # Run the vinum volume manager (or NO). vinum_device="/dev/wd0s1e" # Drive to get config info from. and rc : # Configure vinum devices. if [ "X${vinum_enable}" = X"YES" ]; then vinum read ${vinum_device} fi swapon -a Assuming that "vinum read ${device}" and "vinum create ${config_file}" are identical, something like if [ -f /etc/vinum.conf ]; then vinum create /etc/vinum.conf fi might be more desireable, just in case the on disk info gets scrambled. This happened to me last night ( no idea why :) ) and I was saved by the virtue that my config file was still hanging around. Cheers! FreeBSD 4.0-CURRENT rah rah rah! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message