From owner-svn-src-all@freebsd.org Mon Feb 29 17:22:36 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D9D7AB8288; Mon, 29 Feb 2016 17:22:36 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CF951C78; Mon, 29 Feb 2016 17:22:36 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1THMZPt027911; Mon, 29 Feb 2016 17:22:35 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1THMZ43027909; Mon, 29 Feb 2016 17:22:35 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201602291722.u1THMZ43027909@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Mon, 29 Feb 2016 17:22:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296203 - in head: lib/libc/sys sbin/reboot X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 17:22:36 -0000 Author: trasz Date: Mon Feb 29 17:22:34 2016 New Revision: 296203 URL: https://svnweb.freebsd.org/changeset/base/296203 Log: kenv(8) -> kenv(1) MFC after: 1 month Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/sys/reboot.2 head/sbin/reboot/reboot.8 Modified: head/lib/libc/sys/reboot.2 ============================================================================== --- head/lib/libc/sys/reboot.2 Mon Feb 29 17:20:37 2016 (r296202) +++ head/lib/libc/sys/reboot.2 Mon Feb 29 17:22:34 2016 (r296203) @@ -118,7 +118,7 @@ Instead of rebooting, unmount all filesy currently-running executable, and mount root filesystem using the same mechanism which is used during normal boot, based on vfs.root.mountfrom -.Xr kenv 8 +.Xr kenv 1 variable. .It Dv RB_RDONLY Initially mount the root file system read-only. Modified: head/sbin/reboot/reboot.8 ============================================================================== --- head/sbin/reboot/reboot.8 Mon Feb 29 17:20:37 2016 (r296202) +++ head/sbin/reboot/reboot.8 Mon Feb 29 17:22:34 2016 (r296203) @@ -125,7 +125,7 @@ This option should probably not be used. The system kills all processes, unmounts all filesystems, mounts the new root filesystem, and begins the usual startup sequence. After changing vfs.root.mountfrom with -.Xr kenv 8 , +.Xr kenv 1 , .Nm Fl r can be used to change the root filesystem while preserving kernel state. .El @@ -153,6 +153,7 @@ kenv vfs.root.mountfrom=ufs:/dev/ada0s1a reboot -r .Ed .Sh SEE ALSO +.Xr kenv 1 , .Xr getutxent 3 , .Xr boot 8 , .Xr dumpon 8 ,