The Samba-Bugzilla – Attachment 11848 Details for
Bug 11730
Missing cifsdd manpage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.4
cifsdd.patch (text/plain), 5.07 KB, created by
Andreas Schneider
on 2016-02-18 17:21:19 UTC
(
hide
)
Description:
patch for 4.4
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2016-02-18 17:21:19 UTC
Size:
5.07 KB
patch
obsolete
>From f6aee2e409dbba4abcb5819b0eb2705b4f506d41 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Thu, 11 Feb 2016 10:47:58 +0100 >Subject: [PATCH 1/2] s4-client: Fix cifsdd arg parsing for skip > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11730 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Guenther Deschner <gd@samba.org> >(cherry picked from commit 23d2c7f6707fee14330881c341249d6ce766dda0) >--- > source4/client/cifsdd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c >index 7d412a5..48ffe18 100644 >--- a/source4/client/cifsdd.c >+++ b/source4/client/cifsdd.c >@@ -571,7 +571,7 @@ int main(int argc, const char ** argv) > /* Block counts. */ > set_arg_val("count", (uint64_t)-1); > set_arg_val("seek", (uint64_t)0); >- set_arg_val("seek", (uint64_t)0); >+ set_arg_val("skip", (uint64_t)0); > /* Files. */ > set_arg_val("if", NULL); > set_arg_val("of", NULL); >-- >2.7.1 > > >From 910a72ae7c94162f8c089e0ea605ccf5259d18c4 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Thu, 11 Feb 2016 10:49:39 +0100 >Subject: [PATCH 2/2] docs: Add manpage for cifsdd > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11730 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Guenther Deschner <gd@samba.org> > >(cherry picked from commit a5e349a5ffaba56c47dc73b809b427f17abe1c65) >--- > docs-xml/manpages/cifsdd.8.xml | 101 +++++++++++++++++++++++++++++++++++++++++ > docs-xml/wscript_build | 1 + > 2 files changed, 102 insertions(+) > create mode 100644 docs-xml/manpages/cifsdd.8.xml > >diff --git a/docs-xml/manpages/cifsdd.8.xml b/docs-xml/manpages/cifsdd.8.xml >new file mode 100644 >index 0000000..572ed7b >--- /dev/null >+++ b/docs-xml/manpages/cifsdd.8.xml >@@ -0,0 +1,101 @@ >+<?xml version="1.0" encoding="iso-8859-1"?> >+<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc"> >+<refentry id="smbspool.8"> >+ >+<refmeta> >+ <refentrytitle>cifsdd</refentrytitle> >+ <manvolnum>8</manvolnum> >+ <refmiscinfo class="source">Samba</refmiscinfo> >+ <refmiscinfo class="manual">System Administration tools</refmiscinfo> >+ <refmiscinfo class="version">4.4</refmiscinfo> >+</refmeta> >+ >+ >+<refnamediv> >+ <refname>cifsdd</refname> >+ <refpurpose>convert and copy a file over SMB</refpurpose> >+</refnamediv> >+ >+<refsynopsisdiv> >+ <cmdsynopsis> >+ <command>cifsdd</command> >+ <arg choice="opt">OPERAND</arg>... >+ </cmdsynopsis> >+ <cmdsynopsis> >+ <command>cifsdd</command> >+ <arg choice="plain">OPTION</arg> >+ </cmdsynopsis> >+</refsynopsisdiv> >+ >+<refsect1> >+ <title>DESCRIPTION</title> >+ >+ <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle> >+ <manvolnum>7</manvolnum></citerefentry> suite.</para> >+ >+ <para>Copy a file, converting and formatting according to the operands.</para> >+ >+ <variablelist> >+ <varlistentry> >+ <term>bs=BYTES</term> >+ <listitem><para>read and write up to BYTES bytes at a time (default: 4096)</para></listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>ibs=BYTES</term> >+ <listitem><para>read up to BYTES bytes at a time (default: 4096)</para></listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>obs=BYTES</term> >+ <listitem><para>write BYTES bytes at a time (default: 4096)</para></listitem> >+ </varlistentry> >+ >+ <varlistentry> >+ <term>if=FILE</term> >+ <listitem><para>read from FILE instead of stdin</para></listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>of=FILE</term> >+ <listitem><para>write to FILE instead of stdout</para></listitem> >+ </varlistentry> >+ >+ <varlistentry> >+ <term>count=N</term> >+ <listitem><para>copy only N input blocks</para></listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>seek=N</term> >+ <listitem><para>skip N obs-sized blocks at start of output</para></listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>skip=N</term> >+ <listitem><para>skip N ibs-sized blocks at start of input</para></listitem> >+ </varlistentry> >+ >+ <varlistentry> >+ <term>direct</term> >+ <listitem><para>use direct I/O for data</para></listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>sync</term> >+ <listitem><para>use synchronous writes</para></listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>oplock</term> >+ <listitem><para>take oplocks on the input and output files</para></listitem> >+ </varlistentry> >+ </variablelist> >+</refsect1> >+ >+<refsect1> >+ <title>AUTHOR</title> >+ >+ <para>The original Samba software and related utilities >+ were created by Andrew Tridgell. Samba is now developed >+ by the Samba Team as an Open Source project similar >+ to the way the Linux kernel is developed.</para> >+ >+ <para>The cifsdd manpage was written by Andreas >+ Schneider.</para> >+</refsect1> >+ >+</refentry> >diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build >index 3a87ad1..11b826b 100644 >--- a/docs-xml/wscript_build >+++ b/docs-xml/wscript_build >@@ -1,6 +1,7 @@ > #!/usr/bin/env python > from samba_utils import save_file > manpages=''' >+ manpages/cifsdd.8 > manpages/dbwrap_tool.1 > manpages/eventlogadm.8 > manpages/findsmb.1 >-- >2.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
gd
:
review+
kseeger
:
review+
Actions:
View
Attachments on
bug 11730
: 11848