Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst eeh says we should not enable fsck_lfs...



details:   https://anonhg.NetBSD.org/src/rev/6de2245602ed
branches:  trunk
changeset: 752162:6de2245602ed
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Feb 17 16:09:52 2010 +0000

description:
eeh says we should not enable fsck_lfs on lfs partitions

diffstat:

 distrib/utils/sysinst/disks.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9a6648226c82 -r 6de2245602ed distrib/utils/sysinst/disks.c
--- a/distrib/utils/sysinst/disks.c     Wed Feb 17 15:57:24 2010 +0000
+++ b/distrib/utils/sysinst/disks.c     Wed Feb 17 16:09:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.110 2010/01/02 18:06:57 dsl Exp $ */
+/*     $NetBSD: disks.c,v 1.111 2010/02/17 16:09:52 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -699,7 +699,10 @@
                        if (!check_lfs_progs())
                                s = "# ";
                        fstype = "lfs";
-                       /* FALLTHROUGH */
+                       /* XXX fsck_lfs considered harmfull */
+                       fsck_pass = 0;
+                       dump_freq = 1;
+                       break;
                case FS_BSDFFS:
                        fsck_pass = (strcmp(mp, "/") == 0) ? 1 : 2;
                        dump_freq = 1;



Home | Main Index | Thread Index | Old Index