summaryrefslogtreecommitdiff
path: root/src/readahead/test-ssd.c
diff options
context:
space:
mode:
authorDaniel Buch <boogiewasthere@gmail.com>2014-08-26 21:17:22 +0200
committerTom Gundersen <teg@jklm.no>2014-09-25 16:39:18 +0200
commitd6bc8348d5be8576a475ac8ced2b0146e60fb71f (patch)
tree1cc185bf0c719da2a39c679f7ddfe5ef47508143 /src/readahead/test-ssd.c
parent4a3bb599609d687e0a501a748bfac491f5fb9f6c (diff)
readahead: wipe out readahead
Diffstat (limited to 'src/readahead/test-ssd.c')
-rw-r--r--src/readahead/test-ssd.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/readahead/test-ssd.c b/src/readahead/test-ssd.c
deleted file mode 100644
index 808faf359c..0000000000
--- a/src/readahead/test-ssd.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
-/***
- This file is part of systemd.
-
- Copyright 2014 Zbigniew Jędrzejewski-Szmek
-
- systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 of the License, or
- (at your option) any later version.
-
- systemd is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with systemd; If not, see <http://www.gnu.org/licenses/>.
-***/
-
-#include "readahead-common.h"
-
-int main(int argc, char *argv[]) {
- int i;
-
- for (i = 1; i < argc; i++) {
- char *name = argv[i];
- int r;
-
- r = fs_on_ssd(name);
- if (r < 0) {
- log_error("%s: %s", name, strerror(-r));
- return EXIT_FAILURE;
- }
-
- log_info("%s: %s", name, r ? "SSD" : "---");
- }
-
- return EXIT_SUCCESS;
-}