Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2012 02:40:18 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232531 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201203050240.q252eI3J062834@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Mon Mar  5 02:40:18 2012
New Revision: 232531
URL: http://svn.freebsd.org/changeset/base/232531

Log:
  Make the chroot shell more functional by providing devfs.
  
  Reported by:	Robert Simmons
  MFC after:	4 days

Modified:
  head/usr.sbin/bsdinstall/scripts/auto

Modified: head/usr.sbin/bsdinstall/scripts/auto
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/auto	Mon Mar  5 02:36:15 2012	(r232530)
+++ head/usr.sbin/bsdinstall/scripts/auto	Mon Mar  5 02:40:18 2012	(r232531)
@@ -216,6 +216,7 @@ dialog --backtitle "FreeBSD Installer" -
     --yesno "The installation is now finished. Before exiting the installer, would you like to open a shell in the new system to make any final manual modifications?" 0 0
 if [ $? -eq 0 ]; then
 	clear
+	mount -t devfs devfs "$BSDINSTALL_CHROOT/dev"
 	echo This shell is operating in a chroot in the new system. \
 	    When finished making configuration changes, type \"exit\".
 	chroot "$BSDINSTALL_CHROOT" /bin/sh 2>&1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203050240.q252eI3J062834>