diff options
author | Andrea Ieri <andrea.ieri@canonical.com> | 2018-12-16 13:13:58 +0100 |
---|---|---|
committer | Andrea Ieri <andrea.ieri@canonical.com> | 2018-12-19 10:17:31 +0100 |
commit | 362304dd6832fa5a966156b4d0746e6e0a4d1edc (patch) | |
tree | e0e599cc85fed9edc2f1726d17a7f14803cd372f /tcpdump.1.in | |
parent | e6fc07a5162a3b2f64aa3fcb274e142399c5e36b (diff) | |
download | tcpdump-362304dd6832fa5a966156b4d0746e6e0a4d1edc.tar.gz |
Amend the documentation about the use of the -C -G and -W switches.
When using all three switches (-C -G and -W), the behavior is
practically identical to only using -C and -G, as the -W flag will only
affect the filename suffix.
Fixes #695
Diffstat (limited to 'tcpdump.1.in')
-rw-r--r-- | tcpdump.1.in | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tcpdump.1.in b/tcpdump.1.in index d11424ed..984c1964 100644 --- a/tcpdump.1.in +++ b/tcpdump.1.in @@ -361,6 +361,9 @@ Savefiles will have the name specified by which should include a time format as defined by .BR strftime (3). If no time format is specified, each new file will overwrite the previous. +Whenever a generated filename is not unique, tcpdump will overwrite the +preexisting data; providing a time specification that is coarser than the +capture period is therefore not advised. .IP If used in conjunction with the .B \-C @@ -801,9 +804,15 @@ files, allowing them to sort correctly. Used in conjunction with the .B \-G option, this will limit the number of rotated dump files that get -created, exiting with status 0 when reaching the limit. If used with +created, exiting with status 0 when reaching the limit. +.IP +If used in conjunction with both .B \-C -as well, the behavior will result in cyclical files per timeslice. +and +.B \-G, +the +.B \-W +option will currently be ignored, and will only affect the file name. .TP .B \-x When parsing and printing, |