summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-10-19 17:47:31 +0000
committerDenis Vlasenko2008-10-19 17:47:31 +0000
commitbff06fe02a3d5629b745d799c3b987888070dc20 (patch)
tree9483f88a24325e12b0576f23d97167ca8644e349
parent4bdeaaf556043964d7d772b492882a6835eb4622 (diff)
downloadbusybox-bff06fe02a3d5629b745d799c3b987888070dc20.zip
busybox-bff06fe02a3d5629b745d799c3b987888070dc20.tar.gz
blkid: vda forgot to svn add it again. vda is stupid
-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 0000000..ec699d1
--- /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;
+}