NetBSD-Bugs archive

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

Re: bin/48391



The following reply was made to PR bin/48391; it has been noted by GNATS.

From: Miwa Susumu <miwarin%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/48391
Date: Mon, 13 Oct 2014 18:02:39 +0900

 fsck is regarded as -o unknown options.
 
 in sbin/fsck_ffs/fsck.c mangle():
 
 if (*p != '\0')  {
   if (*p == '-') {
     argv[argc++] = p;
     p = strchr(p, '=');
     if (p) {
       *p = '\0';
       argv[argc++] = p+1;
     }
   } else {
     argv[argc++] = "-o";    <====
     argv[argc++] = p;
   }
 }
 
 This process ( mangle() ) is included from the initial commit.
 
 http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/fsck/fsck.c?only_with_tag=MAIN
 
 For example fsck_ffs, I should be an error to be used in -o fsck_ffs.
 Why fsck Are they regarded as -o?
 
 -- 
 miwarin
 


Home | Main Index | Thread Index | Old Index