summaryrefslogtreecommitdiffhomepage
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/blkid.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/util-linux/blkid.c b/util-linux/blkid.c
new file mode 100644
index 000000000..ec699d167
--- /dev/null
+++ b/util-linux/blkid.c
@@ -0,0 +1,18 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * Print UUIDs on all filesystems
+ *
+ * Copyright (C) 2008 Denys Vlasenko.
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ */
+
+#include "libbb.h"
+#include "volume_id.h"
+
+int blkid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
+int blkid_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
+{
+ display_uuid_cache();
+ return 0;
+}