Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (5 years ago)
Author:
bruno
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/e2fsprogs/fsck.c

    r2725 r3232  
    3434 * It doesn't guess filesystem types from on-disk format.
    3535 */
     36
     37//usage:#define fsck_trivial_usage
     38//usage:       "[-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]..."
     39//usage:#define fsck_full_usage "\n\n"
     40//usage:       "Check and repair filesystems\n"
     41//usage:     "\n    -A  Walk /etc/fstab and check all filesystems"
     42//usage:     "\n    -N  Don't execute, just show what would be done"
     43//usage:     "\n    -P  With -A, check filesystems in parallel"
     44//usage:     "\n    -R  With -A, skip the root filesystem"
     45//usage:     "\n    -T  Don't show title on startup"
     46//usage:     "\n    -V  Verbose"
     47//usage:     "\n    -C n    Write status information to specified filedescriptor"
     48//usage:     "\n    -t TYPE List of filesystem types to check"
    3649
    3750#include "libbb.h"
     
    304317    FILE *fstab;
    305318    struct mntent mte;
    306     struct fs_info *fs;
    307319
    308320    fstab = setmntent(filename, "r");
     
    317329        //  mte.mnt_type, mte.mnt_opts,
    318330        //  mte.mnt_passno);
    319         fs = create_fs_device(mte.mnt_fsname, mte.mnt_dir,
     331        create_fs_device(mte.mnt_fsname, mte.mnt_dir,
    320332            mte.mnt_type, mte.mnt_opts,
    321333            mte.mnt_passno);
     
    467479    if (verbose > 1)
    468480        printf("Finished with %s (exit status %d)\n",
    469                inst->device, status);
     481            inst->device, status);
    470482    num_running--;
    471483    free_instance(inst);
     
    833845            printf("--waiting-- (pass %d)\n", passno);
    834846        status |= wait_many(pass_done ? FLAG_WAIT_ALL :
    835                     FLAG_WAIT_ATLEAST_ONE);
     847                FLAG_WAIT_ATLEAST_ONE);
    836848        if (pass_done) {
    837849            if (verbose > 1)
Note: See TracChangeset for help on using the changeset viewer.