Lets us store longer file names, link names, finer grained timestamps,
larger archive member files, etc; at the expense of larger uncompressed
archives and less widespread support across the ecosystem. If you're
unhappy with the new defaults, you can use -F ustar. Or you can help
fix bugs / find a better middle ground.
Prodding from various including job@ and deraadt@
ok sthen@ caspar@ millert@
-/* $OpenBSD: options.c,v 1.111 2024/04/16 19:04:11 jca Exp $ */
+/* $OpenBSD: options.c,v 1.112 2024/04/16 23:09:35 jca Exp $ */
/* $NetBSD: options.c,v 1.6 1996/03/26 23:54:18 mrg Exp $ */
/*-
#define F_ACPIO 1 /* format when called as cpio -c */
#define F_CPIO 3 /* format when called as cpio */
#define F_OTAR 4 /* format when called as tar -o */
-#define F_TAR 5 /* format when called as tar */
#ifdef SMALL
+# define F_TAR 5 /* default write format when called as tar: ustar */
# define DEFLT 5 /* default write format when called as pax: ustar */
#else
+# define F_TAR 10 /* default write format when called as tar: ustar */
# define DEFLT 10 /* default write format when called as pax: pax */
#endif
-.\" $OpenBSD: tar.1,v 1.66 2024/04/16 19:04:11 jca Exp $
+.\" $OpenBSD: tar.1,v 1.67 2024/04/16 23:09:35 jca Exp $
.\"
.\" Copyright (c) 1996 SigmaSoft, Th. Lockert
.\" All rights reserved.
Stop after the first error.
.It Fl F Ar format
Specify the output archive format, with the default format being
-.Cm ustar .
+.Cm pax .
.Nm
currently supports the following formats:
.Bl -tag -width "sv4cpio"