[SAMBA4][PATCH] dd client for samba 4

James Peach jpeach at sgi.com
Tue Jan 17 04:16:57 GMT 2006

On Tue, 17 Jan 2006 03:06 pm, tridge at samba.org wrote:
> James,
>  > Without dd syntax it wouldn't be a dd clone, which would defeat (some
>  > of) the purpose from my point of view.
> Can you explain why it being a clone is important? Could your aims be
> met by making it a smbclient command and you using a small wrapper
> script?

It's designed as a testing tool. We (and presumably others) have scripts
that know how to drive dd so the command line interface is convenient. I
go to some lengths to make sure that the IO sizes seen on the wire are
those that are requested on the command line.

> Having code like sdd.c in Samba that re-invents popt, and avoids using
> all the existing command line handling code for options (especially
> auth options) is something that I'm very reluctant to do, so it would
> require some very strong justifications!

I guess I don't feel as strongly about this. I expect to use this for
generating client load. Strictly speaking I don't need _any_ authentication.

Maybe I could add the popt handling prior to looking at any dd arguments?
    sdd [common samba options] [dd-style options]

James Peach | jpeach at sgi.com | SGI Australian Software Group
I don't speak for SGI.

More information about the samba-technical mailing list