]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Amend the documentation about the use of the -C -G and -W switches. 722/head
authorAndrea Ieri <[email protected]>
Sun, 16 Dec 2018 12:13:58 +0000 (13:13 +0100)
committerAndrea Ieri <[email protected]>
Wed, 19 Dec 2018 09:17:31 +0000 (10:17 +0100)
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

tcpdump.1.in

index d11424ed968fc3cceff9fffc4f7809909063e8eb..984c19645707eeaa2354fb442810d56aa4420bad 100644 (file)
@@ -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,