Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sparc/ramdisk Use /dev/fd0a rather than /dev/rfd0a t...
details: https://anonhg.NetBSD.org/src/rev/d4695ba3b3a1
branches: trunk
changeset: 750317:d4695ba3b3a1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Dec 24 14:56:14 2009 +0000
description:
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.
diffstat:
distrib/sparc/ramdisk/dot.profile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 367790e30a34 -r d4695ba3b3a1 distrib/sparc/ramdisk/dot.profile
--- a/distrib/sparc/ramdisk/dot.profile Thu Dec 24 09:29:36 2009 +0000
+++ b/distrib/sparc/ramdisk/dot.profile Thu Dec 24 14:56:14 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index