linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bcache-tools: probe-bcache.8 man page
@ 2012-02-16  2:32 Dmitry Smirnov
       [not found] ` <201202161332.49215.onlyjob-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Smirnov @ 2012-02-16  2:32 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: Text/Plain, Size: 141 bytes --]

Hi Kent,

please find a little patch (attached) to introduce probe-bcache.8 man page to 
bcache-tools.

Thank you.

Cheers,
Dmitry.

[-- Attachment #1.2: 0001-added-probe-bcache.8-man-page.patch --]
[-- Type: text/x-patch, Size: 1632 bytes --]

From 0ff7680042622e356516739936095cb4eab02de6 Mon Sep 17 00:00:00 2001
From: Dmitry Smirnov <onlyjob-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org>
Date: Thu, 16 Feb 2012 13:23:00 +1100
Subject: [PATCH] added probe-bcache.8 man page

---
 Makefile       |    2 +-
 probe-bcache.8 |   17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)
 create mode 100644 probe-bcache.8

diff --git a/Makefile b/Makefile
index 684f28a..f94113a 100644
--- a/Makefile
+++ b/Makefile
@@ -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..e95ec04
--- /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. 
\ No newline at end of file
-- 
1.7.8.3


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: bcache-tools: probe-bcache.8 man page
       [not found] ` <201202161332.49215.onlyjob-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org>
@ 2012-02-16 17:15   ` Kent Overstreet
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2012-02-16 17:15 UTC (permalink / raw)
  To: Dmitry Smirnov; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

Thanks, applied!

On Wed, Feb 15, 2012 at 6:32 PM, Dmitry Smirnov <onlyjob-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org> wrote:
> Hi Kent,
>
> please find a little patch (attached) to introduce probe-bcache.8 man page to
> bcache-tools.
>
> Thank you.
>
> Cheers,
> Dmitry.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-16 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-16  2:32 bcache-tools: probe-bcache.8 man page Dmitry Smirnov
     [not found] ` <201202161332.49215.onlyjob-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org>
2012-02-16 17:15   ` Kent Overstreet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).