Displaying 20 results from an estimated 10000 matches similar to: "which files were newer and not transferred?"
2005 May 18
3
odd line in current CVS for firewall
>From a diff of my current shorewall firewall script with the new one
from the CVS today :
$ diff -w /usr/share/shorewall/firewall /usr/src/shorewall/s/firewall
[...]
673c910
< for network in $networks; do
---
> for networks in $networks; do
I don''t think that "for networks in $networks" works well.
--
-IAN! Ian! D. Allen Ottawa, Ontario,
2009 Apr 24
0
how to put -ii output in log file and not on screen?
What I want is a client-side log file itemized list of *all* the changes
that rsync did on the remote machine. Using "--log-file" doesn't
show everything. In particular, --log-file says nothing if the remote
directory was populated using hard links from a --link-dest source.
Any number of remote links and directories can be created, with no
mention of any of it in the log file.
2003 Nov 11
1
unexpected --exclude pattern behaviours with glob wildcards
Rsync version: rsync-2.5.6-3mdk (Mandrake 9.2)
I see from the CVS log that some of the following awkwardness may be
fixed (or at least different) in the next public release. I'm looking
forward to that. In the interim, here are some problems:
---------
Problem 1 - unexpected consequence of replacing / with **
---------
The following exclude works because the explicit slash causes a match
2004 Jul 15
3
slight simplification to firewall log_rule_limit code
I think you can change the existing firewall logging code for
log_rule_limit (where you have one case for for LOGRULENUMBERS and
another almost identical case without) down to this slightly shorter
version with no duplication (excerpt):
if [ -n "$LOGRULENUMBERS" ]; then
eval rulenum=\$${chain}_logrules
[ -z "$rulenum" ] && rulenum=1
fi
case
2009 Apr 22
2
purge-empty-dirs and max-file-size confusion
I want to use --min-size to copy just large files (and their necessary
parent directories), but everything I've tried copies *all* the source
directories, and creates them empty on the destination even if they
don't have any big files in them. I only want the minimal directory
hierarchies that contain the big files. This doesn't work:
$ rm -rf /tmp/foo
$ rsync -ai --min-size
2009 May 14
1
patches to enable rsync 3.0.6 compile on AIX 3.2
These two small changes enable 3.0.6 to compile and link on AIX 3.2:
diff -r rsync-3.0.6/lib/getaddrinfo.c rsync-3.0.6-new/lib/getaddrinfo.c
298c298
< if (!inet_aton(node, &ip)) {
---
> if (!inet_pton(AF_INET, node, &ip)) {
diff -r rsync-3.0.6/lib/sysacls.c rsync-3.0.6-new/lib/sysacls.c
1817a1818
> #if defined(ENOTSUP)
1818a1820,1822
2004 Jul 15
0
long rule action names with logging cause iptables errors
This rule with a long name and logging:
AllowInternetPrintingProtocol:debug
causes this iptables error:
Processing /etc/shorewall/rules...
Rule "AllowSSH:info net fw" added.
Rule "AllowPing:info net fw" added.
Rule "AllowWeb:debug net fw" added.
iptables v1.2.9: Maximum prefix length 29 for --log-prefix
Try `iptables
2007 Feb 25
0
moving local files, remote mirroring, and --link-dest awkwardness
I have some pictures that I unload from the camera into:
dir/tmp
and at night I automatically rsync all of dir/ to some remote:dir/
Then days or weeks later I do some local sorting, and I make lots of image
moves of the sort where image dir/tmp/bar goes to to dir/category1/bar,
possibly linked also into dir/category2/bar.
Then rsync runs the next night, notices the "new" image
2004 Sep 22
0
traceroute misbehaviour on dual-home using -i or -s
My Linux workstation (Mandrake 10.1 kernel 2.6.8.1) is dual-homed to two
ADSL Internet providers. Card eth0 (192.168.9.250) is the default route
and leads to an SMC router (192.168.9.254). Card eth1 (192.168.1.250)
leads to a Linksys router (192.168.1.1). I''m not doing any NAT or PPPoE
in the workstation - the SMC and Linksys handle it all.
I know four commands that let you set an IP
2005 Jun 01
5
use of shell code in shorewall/params
The params file appears to be simply "sourced" by the firewall script,
which means one can put any Bourne shell code into it and it will
execute it. This feature isn''t documented, so I''m wondering if it can
be documented and thus guaranteed to always work. I''d like to dig out
the IP parameters of my interface cards from the ifcfg-eth? files and
set shorewall
2004 Sep 22
0
ping failure on dual-home using -I without default route
My Linux workstation (Mandrake 10.1 kernel 2.6.8.1) is dual-homed to two
ADSL Internet providers. Card eth0 (192.168.9.250) is the default route
and leads to an SMC router (192.168.9.254). Card eth1 (192.168.1.250)
leads to a Linksys router (192.168.1.1). I''m not doing any NAT or PPPoE
in the workstation - the SMC and Linksys handle it all.
If I remove all general default routes from
2001 Nov 04
2
no error messages on I/O errors
rsync-2.4.6-2mdk
I ran an rsync into a file system that filled up. I got no error message
out of rsync - it just stopped and exited sliently. I stuck an fprintf
into the receiving code and verified that the proper error was being
generated - it just never gets printed by the rsync sending process.
I submitted a bug report about it; but, I can't believe that other
people haven't had
2001 Oct 13
3
2.2.19+ext3 or 2.4.1x+ext3 ?
I've not been happy with the stories about the "stable" 2.4.x kernels.
Everywhere I read people saying "not for production use".
Would you recommend adding ext3 to 2.2.19 (ext3-0.0.7a) or moving to
2.4.1x and using ext3 there (ext3-0.9.12)?
--
-IAN! Ian! D. Allen Ottawa, Ontario, Canada idallen@ncf.ca
Home Page on the Ottawa FreeNet: http://www.ncf.ca/~aa610/
2001 Sep 04
2
converted ext2->ext3 root won't mount on boot as ext3
Kernel 2.4.8 on an Athlon 500.
e2fsprogs-1.23
ext3 compiled as a module.
I used "tune2fs" to make /boot and /home into ext3, and remounted them OK.
(I am so amazed to see the system come right back without an lengthy
fsck on these two file systems after a power off! Well done!)
I also used "tune2fs -j" on /, it created a /.journal file. The debugfs
features command shows
2002 Sep 02
1
incomplete smbmount smbfs Win98SE iso8859-1 translation in kernel 2.4.18
I'm getting only partial iso8859-1 translation from an smbfs mount from
my Win98SE machine. The smbfs mounted file system shows most lower-case
accented characters fine; but, it substitutes underscores for most of
the upper-case accented characters (and a few lower-case ones too):
# uname -a
Linux elm 2.4.18-8.1mdkian3 #7 Sat Aug 17 15:19:44 EDT 2002 i686 unknown
(Mandrake 8.2 Linux with all
2002 Jan 29
2
what is patched and what is not?
I'm trying to pick a kernel for ext3.
Looking at the web page (http://www.zip.com.au/~akpm/linux/ext3/), I see
little that clues me in to the fact that "most" of ext3 is already in
(some|most|all) of the 2.4 series kernels.
Am I correct that most of the patches listed on the web page now are
actually bug fixes to the existing ext3 code, as opposed to previous
patches that actually
2007 Jan 29
0
Dropped call issue with IAX Trunking
Trixbox 2.2 Beta with freePBX 2.2.0rc1
I have a setup that looks something like this in ASCII art:
Teliax IAX Trunk ------+
|
V
Embarq PRI ----> Tandem switch ----> Ottawa Office Server------+
+--------------> Lima Office Server -----+|
2005 Sep 14
3
Logging of attribute changes when no data is transferred?
How can I get rsync to write a log record (like --log-format does for data
transfer) when no content needs to be transferred but attributes (owner, group,
mode, ...) are changed?
--
Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: dave@mielke.cc | Canada K2A 1H7 | if you're
2004 Jul 15
1
Logging and Actions
Ian has proposed that we change the way that logging interacts with
defined actions. Currently, if logging is specified on the invocation of
an action (e.g., "AllowFTP:info all all"), all traffic sent to the
AllowFTP chain is logged. In most cases, this isn''t what the user
intended and other people have expressed surprise about this behavior in
the past.
The way I see this
2010 Dec 15
0
btrfsck says snapshots have errors
btrfs 0.19
Ubuntu 10.10
Linux linux 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux
I create a new btrfs on a 200GB disk with one partition.
I mount the partition.
I create a snapshot of that partition.
I unmount the partition.
I run btrfsck and it says I have an "unresolved ref" error.
If I create two snaps, I get three errors.
If I create three snaps, I