From 5663298c2c8f3b89be5626ca435b3fd1e5509823 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 2 Jul 2009 14:38:23 +0200 Subject: blkid: move to misc-utils/ directory The others utilities are in one of the top-level directories. That's confusing to have blkid(8) and findfs(8) in shlibs/ tree. Signed-off-by: Karel Zak --- misc-utils/findfs.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 misc-utils/findfs.c (limited to 'misc-utils/findfs.c') diff --git a/misc-utils/findfs.c b/misc-utils/findfs.c new file mode 100644 index 00000000..18608b47 --- /dev/null +++ b/misc-utils/findfs.c @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2009 Karel Zak + * + * This file may be redistributed under the terms of the GNU Public + * License. + */ +#include +#include +#include +#include +#include + +#include + +#include "nls.h" + +static void __attribute__((__noreturn__)) usage(int rc) +{ + const char *p = program_invocation_short_name; + + if (!p) + p = "findfs"; + + fprintf(stderr, _("Usage: %s LABEL=