From owner-freebsd-hackers@FreeBSD.ORG Fri May 27 16:47:28 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93B1D1065678 for ; Fri, 27 May 2011 16:47:28 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 247968FC1C for ; Fri, 27 May 2011 16:47:26 +0000 (UTC) Received: by wyf23 with SMTP id 23so1877928wyf.13 for ; Fri, 27 May 2011 09:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:subject:date:in-reply-to :references:x-mailer; bh=mxVwU51VAdTzneFlttyRSxIgigAcDgbx8m5Z6lscKYU=; b=BqdbMAzPvtdqabdRF7cUmYQoTt+upJI/5xiI6zW/vEL1DuHPPkRTP4F6JOiA/TJlLd noLWjlBaHvV3+VpkmxUu3iT0gORD6kZvMXnlP9RTeUV7UHQZKqrVcq9FbHn0hur9evwn zFBRvm6NAby1cRzX7GhMzj6n1gv/3QO+cFtUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:in-reply-to:references:x-mailer; b=wd02H6DZTTmYKMt0J+vlgDhd5naLTgcwLazFvZvRFcBFd+0gZBJYDLkB00KxGoNI7c k0spbGnrlB1P/PDeaqskVth6kX5q5fRxkXu5GRdfebn3lLekMyW0AtUFaOOWD7t2Yqdr klOk6gX/wTEM2yUpkijjmpyGICaqZ104dM+/g= Received: by 10.216.229.82 with SMTP id g60mr7091795weq.70.1306514845942; Fri, 27 May 2011 09:47:25 -0700 (PDT) Received: from DEV ([82.193.208.173]) by mx.google.com with ESMTPS id f73sm1078319wef.19.2011.05.27.09.47.23 (version=SSLv3 cipher=OTHER); Fri, 27 May 2011 09:47:24 -0700 (PDT) Message-ID: <20110527.164723.750.2@DEV> From: rank1seeker@gmail.com To: hackers@freebsd.org Date: Fri, 27 May 2011 18:47:23 +0200 In-Reply-To: <20110527134754.GA94769@freebsd.org> References: <20110527.124553.718.1@DEV> <20110527134754.GA94769@freebsd.org> X-Mailer: POP Peeper (3.7.0.0) Cc: Subject: Re: Active slice, only for a next boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 16:47:28 -0000 ----- Original Message ----- From: Alexander Best To: rank1seeker@gmail.com Cc: hackers@freebsd.org Date: Fri, 27 May 2011 13:47:54 +0000 Subject: Re: Active slice, only for a next boot > On Fri May 27 11, rank1seeker@gmail.com wrote: > > Idea is ... > > I have i.e; 3 slices, of which first is active. > > Now I wana set slice 2 active, but only for a one/next boot. > > Once slice 2 is booted and system is shutdown or rebooted, once again, first slice is active and booted, without user's intervention. > > > > Is this possible or should be implemented? > > take a look at the gpart(8) manual, expecially the ATTRIBUTES section. if you > are running with a GPT scheme you can use the "bootonce" attribute to do > exactly what you asked for. > > cheers. > alex > Thanls, but I need it for MBR. Domagoj S.