Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib remove references to disktab.{preinstall, shadow}



details:   https://anonhg.NetBSD.org/src/rev/95ec3d3418d9
branches:  trunk
changeset: 747561:95ec3d3418d9
user:      abs <abs%NetBSD.org@localhost>
date:      Sun Sep 20 22:44:06 2009 +0000

description:
remove references to disktab.{preinstall,shadow}

diffstat:

 distrib/alpha/instkernel/ramdisk/install.sh |  4 ++--
 distrib/bebox/floppies/ramdisk/install.tmpl |  4 ++--
 distrib/miniroot/install.sh                 |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r b75b2191728a -r 95ec3d3418d9 distrib/alpha/instkernel/ramdisk/install.sh
--- a/distrib/alpha/instkernel/ramdisk/install.sh       Sun Sep 20 22:43:00 2009 +0000
+++ b/distrib/alpha/instkernel/ramdisk/install.sh       Sun Sep 20 22:44:06 2009 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: install.sh,v 1.5 2009/09/16 10:40:02 abs Exp $
+# $NetBSD: install.sh,v 1.6 2009/09/20 22:44:06 abs Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -303,7 +303,7 @@
 fragsize=1024
 blocksize=8192
 
-cat /etc/disktab.preinstall > $DT
+echo "# $DT" > $DT
 echo   "" >> $DT
 echo   "$labelname|NetBSD installation generated:\\" >> $DT
 echo   "       :dt=${type}:ty=winchester:\\" >> $DT
diff -r b75b2191728a -r 95ec3d3418d9 distrib/bebox/floppies/ramdisk/install.tmpl
--- a/distrib/bebox/floppies/ramdisk/install.tmpl       Sun Sep 20 22:43:00 2009 +0000
+++ b/distrib/bebox/floppies/ramdisk/install.tmpl       Sun Sep 20 22:44:06 2009 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: install.tmpl,v 1.7 2004/04/23 02:48:12 simonb Exp $
+# $NetBSD: install.tmpl,v 1.8 2009/09/20 22:44:06 abs Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -306,7 +306,7 @@
 fragsize=1024
 blocksize=8192
 
-cat /etc/disktab.preinstall > $DT
+echo "# $DT" > $DT
 echo   "" >> $DT
 echo   "$labelname|NetBSD installation generated:\\" >> $DT
 echo   "       :dt=${type}:ty=winchester:\\" >> $DT
diff -r b75b2191728a -r 95ec3d3418d9 distrib/miniroot/install.sh
--- a/distrib/miniroot/install.sh       Sun Sep 20 22:43:00 2009 +0000
+++ b/distrib/miniroot/install.sh       Sun Sep 20 22:44:06 2009 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: install.sh,v 1.24 2008/04/30 13:10:48 martin Exp $
+#      $NetBSD: install.sh,v 1.25 2009/09/20 22:44:06 abs Exp $
 #
 # Copyright (c) 1996,1997,1999,2000,2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -108,9 +108,9 @@
 # just re-mount the root with read-write enabled.
 md_makerootwritable
 
-# Install the shadowed disktab file; lets us write to it for temporary
+# Create a disktab file; lets us write to it for temporary
 # purposes without mounting the miniroot read-write.
-cp /etc/disktab.shadow /tmp/disktab.shadow
+echo "# disktab" > /tmp/disktab.shadow
 
 test "$md_view_labels_possible" && md_view_labels
 



Home | Main Index | Thread Index | Old Index