Displaying 2 results from an estimated 2 matches for "tar_type".
2005 Feb 25
1
smbclient's tar to /dev/null behaves unexpectedly
...t skips most of
the steps. This behavior
If I type something like this:
smbclient '\\puffin\c$' -U 'amanda%password' -E -d1 -Tca /dev/null '/Kathy/DATA/2120 WNmod/*'
I receive the following message:
Output is /dev/null, assuming dry_run
source/client/clitar.c:
if (tar_type=='c' && (dry_run || strcmp(argv[Optind], "/dev/null")==0)) {
if (!dry_run) {
DEBUG(0,("Output is /dev/null, assuming dry_run\n"));
dry_run = True;
}
This is unexpected behavior. If a person wants to use a dry run, the
"-n" option is ava...
2002 Dec 20
1
smbclient and large file support
...("%10d (%7.1f kb/s) %s\n",
- (int)finfo.size, finfo.size / MAX(0.001, (1.024*this_time)),
+ DEBUG(0, ("%12.0f (%7.1f kb/s) %s\n",
+ (double)finfo.size, finfo.size / MAX(0.001, (1.024*this_time)),
finfo.name));
}
@@ -1868,7 +1870,7 @@
if (tar_type=='c' && (dry_run || strcmp(argv[Optind], "/dev/null")==0))
{
if (!dry_run) {
- DEBUG(0,("Output is /dev/null, assuming dry_run"));
+ DEBUG(0,("Output is /dev/null, assuming dry_run\n"));
dry_run = True;
}
tarhandle=-1;
--- samba-2.2...