Source-Changes-HG archive

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

[src/trunk]: src/sbin/newfs_msdos Default the OEM ID to "NetBSD" rather than ...



details:   https://anonhg.NetBSD.org/src/rev/2d73cd000fcf
branches:  trunk
changeset: 570085:2d73cd000fcf
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Sep 22 23:46:38 2004 +0000

description:
Default the OEM ID to "NetBSD" rather than "BSD  4.4".  (Geez, did 4.4BSD
even have a newfs_msdos command?)

diffstat:

 sbin/newfs_msdos/newfs_msdos.8 |  4 ++--
 sbin/newfs_msdos/newfs_msdos.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r bd96913bccbb -r 2d73cd000fcf sbin/newfs_msdos/newfs_msdos.8
--- a/sbin/newfs_msdos/newfs_msdos.8    Wed Sep 22 23:40:49 2004 +0000
+++ b/sbin/newfs_msdos/newfs_msdos.8    Wed Sep 22 23:46:38 2004 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: newfs_msdos.8,v 1.12 2004/09/22 23:40:49 thorpej Exp $
+.\" $NetBSD: newfs_msdos.8,v 1.13 2004/09/22 23:46:38 thorpej Exp $
 .\"
 .\" Copyright (c) 1998 Robert Nordier
 .\" All rights reserved.
@@ -86,7 +86,7 @@
 .It Fl O Ar OEM
 OEM string (up to 8 characters).
 The default is
-.Qq Li "BSD  4.4" .
+.Qq Li "NetBSD" .
 .It Fl S Ar sector-size
 Number of bytes per sector.
 Acceptable values are powers of 2 in the range 128 through 32768.
diff -r bd96913bccbb -r 2d73cd000fcf sbin/newfs_msdos/newfs_msdos.c
--- a/sbin/newfs_msdos/newfs_msdos.c    Wed Sep 22 23:40:49 2004 +0000
+++ b/sbin/newfs_msdos/newfs_msdos.c    Wed Sep 22 23:46:38 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: newfs_msdos.c,v 1.15 2004/04/21 01:05:34 christos Exp $        */
+/*     $NetBSD: newfs_msdos.c,v 1.16 2004/09/22 23:46:38 thorpej Exp $ */
 
 /*
  * Copyright (c) 1998 Robert Nordier
@@ -33,7 +33,7 @@
 static const char rcsid[] =
   "$FreeBSD: src/sbin/newfs_msdos/newfs_msdos.c,v 1.15 2000/10/10 01:49:37 wollman Exp $";
 #else
-__RCSID("$NetBSD: newfs_msdos.c,v 1.15 2004/04/21 01:05:34 christos Exp $");
+__RCSID("$NetBSD: newfs_msdos.c,v 1.16 2004/09/22 23:46:38 thorpej Exp $");
 #endif
 #endif /* not lint */
 
@@ -665,7 +665,7 @@
                    mk1(bs->jmp[0], 0xeb);
                    mk1(bs->jmp[1], x1 - 2);
                    mk1(bs->jmp[2], 0x90);
-                   setstr(bs->oem, opt_O ? opt_O : "BSD  4.4",
+                   setstr(bs->oem, opt_O ? opt_O : "NetBSD",
                           sizeof(bs->oem));
                    memcpy(img + x1, bootcode, sizeof(bootcode));
                    mk2(img + bpb.bps - 2, DOSMAGIC);



Home | Main Index | Thread Index | Old Index