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

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/util-linux/blkid.c

    r2725 r3232  
    88 */
    99
     10//usage:#define blkid_trivial_usage
     11//usage:       "[BLOCKDEV]..."
     12//usage:#define blkid_full_usage "\n\n"
     13//usage:       "Print UUIDs of all filesystems"
     14
    1015#include "libbb.h"
    1116#include "volume_id.h"
    1217
    1318int blkid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
    14 int blkid_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
     19int blkid_main(int argc UNUSED_PARAM, char **argv)
    1520{
    16     display_uuid_cache();
     21    int scan_devices = 1;
     22
     23    while (*++argv) {
     24        /* Note: bogus device names don't cause any error messages */
     25        add_to_uuid_cache(*argv);
     26        scan_devices = 0;
     27    }
     28
     29    display_uuid_cache(scan_devices);
    1730    return 0;
    1831}
Note: See TracChangeset for help on using the changeset viewer.