Module Name:    src
Committed By:   tsutsui
Date:           Thu Dec 24 14:56:14 UTC 2009

Modified Files:
        src/distrib/sparc/ramdisk: dot.profile

Log Message:
Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))

Workaround for PR port-sparc/42193, and would also fix PR install/28734.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/sparc/ramdisk/dot.profile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sparc/ramdisk/dot.profile
diff -u src/distrib/sparc/ramdisk/dot.profile:1.19 src/distrib/sparc/ramdisk/dot.profile:1.20
--- src/distrib/sparc/ramdisk/dot.profile:1.19	Wed Apr 30 13:10:49 2008
+++ src/distrib/sparc/ramdisk/dot.profile	Thu Dec 24 14:56:14 2009
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.19 2008/04/30 13:10:49 martin Exp $
+# $NetBSD: dot.profile,v 1.20 2009/12/24 14:56:14 tsutsui Exp $
 #
 # Copyright (c) 2000 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -76,7 +76,7 @@
 	local dev rval
 
 	rval=0
-	dev="/dev/rfd0a"
+	dev="/dev/fd0a"
 
 	echo "Ejecting floppy disk"
 	eject $dev

Reply via email to