<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/xinstall/install.1, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-04-17T02:03:31Z</updated>
<entry>
<title>install: Remove the mmap(2) option.</title>
<updated>2024-04-17T02:03:31Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-04-17T01:36:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a0439a1b820fa0e742c00d095f5f5c06f5f19432'/>
<id>urn:sha1:a0439a1b820fa0e742c00d095f5f5c06f5f19432</id>
<content type='text'>
We already removed it from cp(1) over a year ago but never followed up
here.  Do so now, for the same reasons: significant complexity for
little to no benefit.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D44809
</content>
</entry>
<entry>
<title>install: Always use a temporary file.</title>
<updated>2024-04-12T17:31:35Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-04-12T17:30:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5035d08578e372d40b4e2d4c3574b7583549bd6'/>
<id>urn:sha1:e5035d08578e372d40b4e2d4c3574b7583549bd6</id>
<content type='text'>
Previously, we would only use a temporary file if explicitly asked to
with the `-S` option, and even then, only if the target file already
existed.  This meant that an outside observer looking for the target
file might see a partial file, and might see the file disappear and
then reappear.

With this patch, we always use a temporary file, ensuring atomicity.
The downside is slightly increased disk usage.  The upside is never
having to worry about, for instance, cron jobs randomly failing if
they happen to run simultaneously with `make installworld`.

The `-S` option is retained, partly for compatibility, and partly
to control the use of `fsync(2)`, which has a non-negligible cost
(approximately 10% increase in wall time for `make installworld`).

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	0mp, brooks, imp, markj
Differential Revision:	https://reviews.freebsd.org/D44742
</content>
</entry>
<entry>
<title>usr.bin: Remove ancient SCCS tags.</title>
<updated>2023-11-27T05:23:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-23T17:21:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bdcbfde31e8e9b343f113a1956384bdf30d1ed62'/>
<id>urn:sha1:bdcbfde31e8e9b343f113a1956384bdf30d1ed62</id>
<content type='text'>
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line nroff pattern</title>
<updated>2023-08-16T17:55:15Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b2c76c41be32f904179efed29c0ca04d53f3996c'/>
<id>urn:sha1:b2c76c41be32f904179efed29c0ca04d53f3996c</id>
<content type='text'>
Remove /^\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>xinstall: alphabetize: upper case precedes lower.</title>
<updated>2022-08-04T00:10:16Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2022-08-04T00:09:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f44e2577120c60cd92f685037bbb63127e0091e4'/>
<id>urn:sha1:f44e2577120c60cd92f685037bbb63127e0091e4</id>
<content type='text'>
Sponsored by:	Klara, Inc.
</content>
</entry>
<entry>
<title>Allow install(1)'s create_tempfile() to work on Linux hosts</title>
<updated>2020-07-15T17:24:39Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2020-07-15T17:24:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0fd54da0b0ae6ccd530a98db084e2ad595cebfd1'/>
<id>urn:sha1:0fd54da0b0ae6ccd530a98db084e2ad595cebfd1</id>
<content type='text'>
GLibc expects six 'X' characters in the mkstemp template argument and
will return EINVAL otherwise.

Reviewed By:	emaste, imp, mjg
Differential Revision: https://reviews.freebsd.org/D25662
</content>
</entry>
<entry>
<title>install.1: Add missing arguments to option descriptions</title>
<updated>2019-08-12T10:57:56Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2019-08-12T10:57:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9236a881f68afe669de6d91d2a984511c97af754'/>
<id>urn:sha1:9236a881f68afe669de6d91d2a984511c97af754</id>
<content type='text'>
While here:
- Remove deprecated Tn macros.
- Do not use macros with the -width option.

Reviewed by:	bcr
Approved by:	doc (bcr)
Differential Revision:	https://reviews.freebsd.org/D21173
</content>
</entry>
<entry>
<title>xinstall: renumber UCB clauses to avoid skipping #3</title>
<updated>2015-09-25T20:25:18Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-09-25T20:25:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=209e744f89e3aa98ef29451afcb76f971ac9f812'/>
<id>urn:sha1:209e744f89e3aa98ef29451afcb76f971ac9f812</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New install flags were merged to 9-STABLE and will appear in FreeBSD-9.2.</title>
<updated>2013-06-05T17:02:21Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2013-06-05T17:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78229472cf860aac93d8fe671c162cda8f1ddd48'/>
<id>urn:sha1:78229472cf860aac93d8fe671c162cda8f1ddd48</id>
<content type='text'>
Sponsored by:	DARPA, AFRL
Submitted by:	ru
MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove documentation of the old -M option.</title>
<updated>2013-01-22T18:57:51Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2013-01-22T18:57:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bf8596f6e2d64ce2dffd3b26fdde6db679979cb0'/>
<id>urn:sha1:bf8596f6e2d64ce2dffd3b26fdde6db679979cb0</id>
<content type='text'>
Sponsored by:	DARPA, AFRL
</content>
</entry>
</feed>
