Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sbin/fsck_lfs Pull up revision 1.7 (requested by persea...



details:   https://anonhg.NetBSD.org/src/rev/4e90b8419bbb
branches:  netbsd-1-5
changeset: 490622:4e90b8419bbb
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 03 21:44:03 2001 +0000

description:
Pull up revision 1.7 (requested by perseant):
  Add compatibility option "-f" to fsck_lfs (PR #11129).

diffstat:

 sbin/fsck_lfs/main.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r fabe28edb5cb -r 4e90b8419bbb sbin/fsck_lfs/main.c
--- a/sbin/fsck_lfs/main.c      Sat Feb 03 21:43:18 2001 +0000
+++ b/sbin/fsck_lfs/main.c      Sat Feb 03 21:44:03 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.6 2000/06/14 18:43:58 perseant Exp $     */
+/* $NetBSD: main.c,v 1.6.2.1 2001/02/03 21:44:03 he Exp $       */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -69,7 +69,7 @@
 {
        int             ch;
        int             ret = 0;
-       char           *optstring = "b:C:di:m:npy";
+       char           *optstring = "b:C:dfi:m:npy";
 
        sync();
        skipclean = 1;
@@ -91,6 +91,9 @@
                case 'e':
                        exitonfail++;
                        break;
+               case 'f':
+                       skipclean = 0;
+                       break;
                case 'i':
                        idaddr = strtol(optarg, NULL, 0);
                        break;



Home | Main Index | Thread Index | Old Index