summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-07-16 18:06:36 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-07-16 18:06:36 +0000
commit22d3b2bd5a59dc3997adfcb0a55fc38aee9db33b (patch)
treee45188d9039bd3a18aa2687c6e6d9d53a2834ad6 /sys/arch/sparc
parent44f46539474c744c1f1f79aa4a1d4d9bb410080f (diff)
sun disklabels need updating too. frag size -> 2048.
pointed out by deraadt@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/disksubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c
index 866f53023d5..2878f8b6624 100644
--- a/sys/arch/sparc/sparc/disksubr.c
+++ b/sys/arch/sparc/sparc/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.28 2003/06/02 18:47:58 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.29 2003/07/16 18:06:34 tedu Exp $ */
/* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */
/*
@@ -472,7 +472,7 @@ disklabel_sun_to_bsd(cp, lp)
* The sun label does not store the FFS fields,
* so just set them with default values here.
*/
- npp->p_fsize = 1024;
+ npp->p_fsize = 2048;
npp->p_frag = 8;
npp->p_cpg = 16;
}
@@ -505,7 +505,7 @@ disklabel_sun_to_bsd(cp, lp)
}
npp->p_fstype = sun_fstypes[i+8];
if (npp->p_fstype == FS_BSDFFS) {
- npp->p_fsize = 1024;
+ npp->p_fsize = 2048;
npp->p_frag = 8;
npp->p_cpg = 16;
}