diff options
Diffstat (limited to 'util-linux/blkid.c')
-rw-r--r-- | util-linux/blkid.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/util-linux/blkid.c b/util-linux/blkid.c index 4ce44b144..fe88fb31d 100644 --- a/util-linux/blkid.c +++ b/util-linux/blkid.c | |||
@@ -10,9 +10,16 @@ | |||
10 | #include "libbb.h" | 10 | #include "libbb.h" |
11 | #include "volume_id.h" | 11 | #include "volume_id.h" |
12 | 12 | ||
13 | //TODO: extend to take BLOCKDEV args, and show TYPE="fstype" | ||
14 | |||
13 | int blkid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 15 | int blkid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
14 | int blkid_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | 16 | int blkid_main(int argc UNUSED_PARAM, char **argv) |
15 | { | 17 | { |
18 | while (*++argv) { | ||
19 | /* Note: bogus device names don't cause any error messages */ | ||
20 | add_to_uuid_cache(*argv); | ||
21 | } | ||
22 | |||
16 | display_uuid_cache(); | 23 | display_uuid_cache(); |
17 | return 0; | 24 | return 0; |
18 | } | 25 | } |