Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/util-linux/blkid.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/util-linux/blkid.c
r2725 r3232 8 8 */ 9 9 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 10 15 #include "libbb.h" 11 16 #include "volume_id.h" 12 17 13 18 int blkid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 14 int blkid_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)19 int blkid_main(int argc UNUSED_PARAM, char **argv) 15 20 { 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); 17 30 return 0; 18 31 }
Note:
See TracChangeset
for help on using the changeset viewer.