cvs commit: src/sbin/fsck fsck.c

Jeroen C. van Gelderen jeroen at vangelderen.org
Sat Apr 26 08:37:36 PDT 2003


On Friday, Apr 25, 2003, at 17:46 Europe/Amsterdam, Sam Leffler wrote:

>> Please back this out.  If there is no fstab, the vfstype is retrieved
>> from the disklabel.  It will likely be `4.2BSD', and fsck will try to
>> find /sbin/fsck_4.2BSD and fail.
>>
>> Look at `FS_BSDFFS' and `fstypenames[]' in sys/disklabel.h to see what
>> I mean.
>>
>> (A failure of this sort was just reported to me by a coworker.)
>
> Ah, this explains why fsck of an md filesystem was doing that.  Thanks 
> for
> identifying the reason.

And thanks to Juli for fixing the code by adding a comment containing 
this information.

-J
-- 
Jeroen C. van Gelderen - jeroen at vangelderen.org

                 The python
            has, and I fib no fibs,
              318 pairs of ribs.
       In stating this I place reliance
   On a séance with one who died for science.
     This figure is sworn to and attested;
     He counted them while being digested.
             -- Ogden Nash



More information about the cvs-src mailing list