Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst set root partition default bsize and f...



details:   https://anonhg.NetBSD.org/src/rev/e24de3134d57
branches:  trunk
changeset: 534730:e24de3134d57
user:      grant <grant%NetBSD.org@localhost>
date:      Fri Aug 02 05:11:29 2002 +0000

description:
set root partition default bsize and fsize.

diffstat:

 distrib/utils/sysinst/arch/acorn26/md.c   |  4 +++-
 distrib/utils/sysinst/arch/acorn32/md.c   |  4 +++-
 distrib/utils/sysinst/arch/alpha/md.c     |  4 +++-
 distrib/utils/sysinst/arch/arc/md.c       |  4 +++-
 distrib/utils/sysinst/arch/atari/md.c     |  4 +++-
 distrib/utils/sysinst/arch/bebox/md.c     |  4 +++-
 distrib/utils/sysinst/arch/cats/md.c      |  4 +++-
 distrib/utils/sysinst/arch/evbarm/md.c    |  4 +++-
 distrib/utils/sysinst/arch/hpcmips/md.c   |  4 +++-
 distrib/utils/sysinst/arch/i386/md.c      |  6 +++---
 distrib/utils/sysinst/arch/macppc/md.c    |  4 +++-
 distrib/utils/sysinst/arch/pc532/md.c     |  4 +++-
 distrib/utils/sysinst/arch/prep/md.c      |  4 +++-
 distrib/utils/sysinst/arch/sandpoint/md.c |  4 +++-
 distrib/utils/sysinst/arch/sgimips/md.c   |  4 +++-
 distrib/utils/sysinst/arch/shark/md.c     |  4 +++-
 distrib/utils/sysinst/arch/walnut/md.c    |  4 +++-
 distrib/utils/sysinst/bsddisklabel.c      |  4 +++-
 18 files changed, 54 insertions(+), 20 deletions(-)

diffs (truncated from 333 to 300 lines):

diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/acorn26/md.c
--- a/distrib/utils/sysinst/arch/acorn26/md.c   Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/acorn26/md.c   Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/05/04 21:35:27 bjh21 Exp $     */
+/*     $NetBSD: md.c,v 1.3 2002/08/02 05:11:29 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -344,6 +344,8 @@
        
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        /* Conventionally, C is whole disk and D in the non NetBSD bit */
        bsdlabel[D].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/acorn32/md.c
--- a/distrib/utils/sysinst/arch/acorn32/md.c   Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/acorn32/md.c   Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.3 2002/04/02 17:11:20 thorpej Exp $   */
+/*     $NetBSD: md.c,v 1.4 2002/08/02 05:11:30 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -344,6 +344,8 @@
        
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        /* Conventionally, C is whole disk and D in the non NetBSD bit */
        bsdlabel[D].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/alpha/md.c
--- a/distrib/utils/sysinst/arch/alpha/md.c     Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/alpha/md.c     Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.27 2002/05/07 14:50:39 lukem Exp $    */
+/*     $NetBSD: md.c,v 1.28 2002/08/02 05:11:30 grant Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -186,6 +186,8 @@
        
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        /* Conventionally, C is whole disk. */
        bsdlabel[D].pi_fstype = FS_UNUSED;      /* fill out below */
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/arc/md.c
--- a/distrib/utils/sysinst/arch/arc/md.c       Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/arc/md.c       Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/07/26 01:00:39 wiz Exp $       */
+/*     $NetBSD: md.c,v 1.3 2002/08/02 05:11:31 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -167,6 +167,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        bsdlabel[E].pi_fstype = FS_UNUSED;
        bsdlabel[F].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/atari/md.c
--- a/distrib/utils/sysinst/arch/atari/md.c     Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/atari/md.c     Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.3 2002/04/25 20:16:08 leo Exp $ */
+/*     $NetBSD: md.c,v 1.4 2002/08/02 05:11:31 grant Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -107,6 +107,8 @@
 
        /* We _always_ have a root partition */
        bsdlabel[PART_ROOT].pi_fstype = FS_BSDFFS;
+       bsdlabel[PART_ROOT].pi_bsize  = 8192;
+       bsdlabel[PART_ROOT].pi_fsize  = 1024;
 
        /* Whole disk partition */
        bsdlabel[PART_RAW].pi_offset = 0;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/bebox/md.c
--- a/distrib/utils/sysinst/arch/bebox/md.c     Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/bebox/md.c     Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.23 2001/04/12 03:48:12 briggs Exp $ */
+/*     $NetBSD: md.c,v 1.24 2002/08/02 05:11:31 grant Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -155,6 +155,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        bsdlabel[E].pi_fstype = FS_UNUSED;
        bsdlabel[F].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/cats/md.c
--- a/distrib/utils/sysinst/arch/cats/md.c      Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/cats/md.c      Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/04/11 16:34:00 skrll Exp $     */
+/*     $NetBSD: md.c,v 1.3 2002/08/02 05:11:32 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -196,6 +196,8 @@
        
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        /* Conventionally, C is whole disk and D in the non NetBSD bit */
        bsdlabel[D].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/evbarm/md.c
--- a/distrib/utils/sysinst/arch/evbarm/md.c    Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/evbarm/md.c    Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/04/13 02:34:17 thorpej Exp $   */
+/*     $NetBSD: md.c,v 1.3 2002/08/02 05:11:32 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -169,6 +169,8 @@
        
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        /* Conventionally, C is whole disk */
        bsdlabel[D].pi_fstype = FS_UNUSED;      /* fill out below */
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/hpcmips/md.c
--- a/distrib/utils/sysinst/arch/hpcmips/md.c   Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/hpcmips/md.c   Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.14 2002/07/26 01:00:40 wiz Exp $ */
+/*     $NetBSD: md.c,v 1.15 2002/08/02 05:11:32 grant Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -268,6 +268,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        bsdlabel[E].pi_fstype = FS_UNUSED;
        bsdlabel[F].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.62 2002/07/26 00:42:04 grant Exp $ */
+/*     $NetBSD: md.c,v 1.63 2002/08/02 05:11:33 grant Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -272,6 +272,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        bsdlabel[E].pi_fstype = FS_UNUSED;
        bsdlabel[F].pi_fstype = FS_UNUSED;
@@ -306,8 +308,6 @@
                                   dlcylsize) - partstart;
                bsdlabel[A].pi_offset = partstart;
                bsdlabel[A].pi_size = partsize;
-               bsdlabel[A].pi_bsize = 8192;
-               bsdlabel[A].pi_fsize = 1024;
                strcpy (fsmount[A], "/");
                partstart += partsize;
 
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/macppc/md.c
--- a/distrib/utils/sysinst/arch/macppc/md.c    Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/macppc/md.c    Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.22 2002/05/20 13:31:26 lukem Exp $    */
+/*     $NetBSD: md.c,v 1.23 2002/08/02 05:11:33 grant Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -197,6 +197,8 @@
        
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        /* Conventionally, C is whole disk. */
        bsdlabel[D].pi_fstype = FS_UNUSED;      /* fill out below */
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/pc532/md.c
--- a/distrib/utils/sysinst/arch/pc532/md.c     Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/pc532/md.c     Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.22 2001/01/14 02:38:21 mrg Exp $      */
+/*     $NetBSD: md.c,v 1.23 2002/08/02 05:11:33 grant Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -156,6 +156,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        bsdlabel[D].pi_fstype = FS_UNUSED;
        bsdlabel[D].pi_fstype = FS_BOOT;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/prep/md.c
--- a/distrib/utils/sysinst/arch/prep/md.c      Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/prep/md.c      Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/07/26 01:00:41 wiz Exp $       */
+/*     $NetBSD: md.c,v 1.3 2002/08/02 05:11:34 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -163,6 +163,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        bsdlabel[D].pi_fstype = FS_UNUSED;
        bsdlabel[E].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/sandpoint/md.c
--- a/distrib/utils/sysinst/arch/sandpoint/md.c Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/sandpoint/md.c Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.1 2001/10/24 19:43:40 briggs Exp $ */
+/*     $NetBSD: md.c,v 1.2 2002/08/02 05:11:34 grant Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -155,6 +155,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        bsdlabel[E].pi_fstype = FS_UNUSED;
        bsdlabel[F].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/sgimips/md.c
--- a/distrib/utils/sysinst/arch/sgimips/md.c   Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/sgimips/md.c   Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/07/18 16:23:37 rafal Exp $     */
+/*     $NetBSD: md.c,v 1.3 2002/08/02 05:11:35 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -159,6 +159,8 @@
 
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;      /* root */
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;        /* swap */
        bsdlabel[E].pi_fstype = FS_UNUSED;
        bsdlabel[F].pi_fstype = FS_UNUSED;
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/shark/md.c
--- a/distrib/utils/sysinst/arch/shark/md.c     Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/shark/md.c     Fri Aug 02 05:11:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.3 2002/04/02 17:46:20 thorpej Exp $   */
+/*     $NetBSD: md.c,v 1.4 2002/08/02 05:11:35 grant Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -169,6 +169,8 @@
        
        /* Standard fstypes */
        bsdlabel[A].pi_fstype = FS_BSDFFS;
+       bsdlabel[A].pi_bsize  = 8192;
+       bsdlabel[A].pi_fsize  = 1024;
        bsdlabel[B].pi_fstype = FS_SWAP;
        /* Conventionally, C is whole disk */
        bsdlabel[D].pi_fstype = FS_UNUSED;      /* fill out below */
diff -r d18d168c387e -r e24de3134d57 distrib/utils/sysinst/arch/walnut/md.c
--- a/distrib/utils/sysinst/arch/walnut/md.c    Fri Aug 02 04:49:35 2002 +0000
+++ b/distrib/utils/sysinst/arch/walnut/md.c    Fri Aug 02 05:11:29 2002 +0000



Home | Main Index | Thread Index | Old Index