From: Andrea Ieri Date: Sun, 16 Dec 2018 12:13:58 +0000 (+0100) Subject: Amend the documentation about the use of the -C -G and -W switches. X-Git-Tag: tcpdump-4.99-bp~939^2 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/362304dd6832fa5a966156b4d0746e6e0a4d1edc 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 --- 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,