Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/ofppc Use sync(8) instead of echo...



details:   https://anonhg.NetBSD.org/src/rev/3d5463975d29
branches:  trunk
changeset: 773465:3d5463975d29
user:      phx <phx%NetBSD.org@localhost>
date:      Thu Feb 02 21:58:31 2012 +0000

description:
Use sync(8) instead of echo(1) to avoid writing an RDB disklabel.
echo(1) is not part of the miniroot file system.

diffstat:

 distrib/utils/sysinst/arch/ofppc/md.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e72f57cf581e -r 3d5463975d29 distrib/utils/sysinst/arch/ofppc/md.c
--- a/distrib/utils/sysinst/arch/ofppc/md.c     Thu Feb 02 21:54:34 2012 +0000
+++ b/distrib/utils/sysinst/arch/ofppc/md.c     Thu Feb 02 21:58:31 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.11 2012/01/29 16:01:36 phx Exp $      */
+/*     $NetBSD: md.c,v 1.12 2012/02/02 21:58:31 phx Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -605,7 +605,7 @@
 
        /* we cannot rewrite an RDB disklabel */
        if (rdb_found)
-               return "echo No disklabel";
+               return "sync No disklabel";
 
        return "disklabel -w -r";
 }



Home | Main Index | Thread Index | Old Index