From owner-freebsd-stable@FreeBSD.ORG Fri Oct 20 12:49:05 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF6AB16A40F for ; Fri, 20 Oct 2006 12:49:05 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1A6443D7F for ; Fri, 20 Oct 2006 12:48:54 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (dsdybk@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k9KCmjwg076551; Fri, 20 Oct 2006 14:48:50 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k9KCmiVH076550; Fri, 20 Oct 2006 14:48:44 +0200 (CEST) (envelope-from olli) Date: Fri, 20 Oct 2006 14:48:44 +0200 (CEST) Message-Id: <200610201248.k9KCmiVH076550@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, r00t_0101@yahoo.com, danny@cs.huji.ac.il In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 20 Oct 2006 14:48:50 +0200 (CEST) Cc: Subject: Re: BSD/Linux slices like Solaris' Solstice DiskSuite X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, r00t_0101@yahoo.com, danny@cs.huji.ac.il List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 12:49:06 -0000 Danny Braniss wrote: > sorry!, it was before morning coffee, > s/bsdlabel/boot0cfg/ Ah, OK. Yes, that would also work, but only if you have the boot manager installed. (Strictly speaking it doesn't change the active slice, which will always be the FreeBSD slice, but it changes the slice that will be booted in turn by the boot manager). Hmm... I still wonder why there is "s:" in the getopt(3) string of bsdlabel(8). It seems to be a leftover from the boot1/boot2 stuff that was removed in r1.75 of bsdlabel.c. Maybe I should submit a PR. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "The scanf() function is a large and complex beast that often does something almost but not quite entirely unlike what you desired." -- Chris Torek