diff options
author | Dmitry Smirnov <onlyjob@member.fsf.org> | 2012-02-16 13:32:44 +1100 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2012-02-16 09:14:41 -0800 |
commit | f4c09286dd3f761310b24bc03e5ce95793a9a30c (patch) | |
tree | 5642add6a3a0eba7353cb95aff2a1299f78c0b11 | |
parent | 7f023533a8ee93126ff86097aca3630a9390c904 (diff) |
bcache-tools: probe-bcache.8 man page
Hi Kent,
please find a little patch (attached) to introduce probe-bcache.8 man page to
bcache-tools.
Thank you.
Cheers,
Dmitry.
From 0ff7680042622e356516739936095cb4eab02de6 Mon Sep 17 00:00:00 2001
From: Dmitry Smirnov <onlyjob@member.fsf.org>
Date: Thu, 16 Feb 2012 13:23:00 +1100
Subject: [PATCH] added probe-bcache.8 man page
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | probe-bcache.8 | 17 |
2 files changed, 18 insertions, 1 deletions
@@ -9,7 +9,7 @@ install: make-bcache probe-bcache install -m0755 probe-bcache $(DESTDIR)/sbin/ install -m0644 61-bcache.rules $(DESTDIR)/lib/udev/rules.d/ install -m0755 initramfs $(DESTDIR)/usr/share/initramfs-tools/hooks/bcache - install -m0644 make-bcache.8 $(DESTDIR)${PREFIX}/share/man/man8 + install -m0644 *.8 $(DESTDIR)${PREFIX}/share/man/man8 # install -m0755 bcache-test $(DESTDIR)${PREFIX}/sbin/ clean: diff --git a/probe-bcache.8 b/probe-bcache.8 new file mode 100644 index 0000000..17273f0 --- /dev/null +++ b/probe-bcache.8 @@ -0,0 +1,17 @@ +.TH probe-bcache 8 +.SH NAME +probe-bcache \- probe a bcache device +.SH SYNOPSIS +.B probe-bcache +[\fB \-o\ \fIudev\fR ] +.I device +.SH OPTIONS +.TP +.BR \-o +return UUID in udev style for invocation by udev rule as IMPORT{program} +.SH USAGE +Return UUID if device identified as bcache-formatted. + +Only necessary until support for the bcache superblock is included +in blkid; in the meantime, provides just enough functionality for a udev script +to create the /dev/disk/by-uuid symlink. |