blkid: vda forgot to svn add it again. vda is stupid
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 19 Oct 2008 17:47:31 +0000 (17:47 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 19 Oct 2008 17:47:31 +0000 (17:47 -0000)
util-linux/blkid.c [new file with mode: 0644]

diff --git a/util-linux/blkid.c b/util-linux/blkid.c
new file mode 100644 (file)
index 0000000..ec699d1
--- /dev/null
@@ -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;
+}