<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/usr.sbin/makefs/msdos, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-08-24T09:20:27Z</updated>
<entry>
<title>makefs (msdosfs): Use fprintf instead of debug print for errors</title>
<updated>2020-08-24T09:20:27Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2020-08-24T09:20:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=06e20d1babecec1f45ffda513f55a8db5f1c0f56'/>
<id>urn:sha1:06e20d1babecec1f45ffda513f55a8db5f1c0f56</id>
<content type='text'>
The added print was very helpful for debugging failed disk image creation.

Reviewed By:	emaste
Differential Revision: https://reviews.freebsd.org/D23200
</content>
</entry>
<entry>
<title>makefs: Drop unnecessary sys/clock.h include</title>
<updated>2020-08-07T16:04:06Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2020-08-07T16:04:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b4e38a41f584ad4391c04b8cfec81f46176b18b0'/>
<id>urn:sha1:b4e38a41f584ad4391c04b8cfec81f46176b18b0</id>
<content type='text'>
This breaks the build on macOS where this header doesn't exist. I could
also add a compat header to tools/build/cross-build but since it's not
needed removing it seems like the better solution.
</content>
</entry>
<entry>
<title>Fix an indentation bug in r357169.</title>
<updated>2020-01-30T18:34:08Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2020-01-30T18:34:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=10dd04d39f4ac13cca68ed83ba17a93791190565'/>
<id>urn:sha1:10dd04d39f4ac13cca68ed83ba17a93791190565</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS</title>
<updated>2020-01-27T12:02:41Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2020-01-27T12:02:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=162ae9c834f6d9f9cb443bd62cceb23e0b5fef48'/>
<id>urn:sha1:162ae9c834f6d9f9cb443bd62cceb23e0b5fef48</id>
<content type='text'>
In order to do so we need to install the msdosfs headers to the bootstrap
sysroot and avoid includes of kernel headers that may not exist on every
host (e.g. sys/lockmgr.h). This change should allow bootstrapping of makefs
on FreeBSD 11+ as well as Linux and macOS.

We also have to avoid using the IO_SYNC macro since that may not be
available. In makefs it is only used to switch between calling
bwrite() and bdwrite() which both call the same function. Therefore we
can simply always call bwrite().

For our CheriBSD builds we always bootstrap makefs by setting
LOCAL_XTOOL_DIRS='lib/libnetbsd usr.sbin/makefs' and use the makefs binary
from the build tree to create a bootable disk image.

Reviewed By:	brooks
Differential Revision: https://reviews.freebsd.org/D23201
</content>
</entry>
<entry>
<title>buf: Add B_INVALONERR flag to discard data</title>
<updated>2019-09-11T21:24:14Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-09-11T21:24:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=aaa3852435aee8c1b5abfe38ed7d43f9ba57e6dd'/>
<id>urn:sha1:aaa3852435aee8c1b5abfe38ed7d43f9ba57e6dd</id>
<content type='text'>
Setting the B_INVALONERR flag before a synchronous write causes the buf
cache to forcibly invalidate contents if the write fails (BIO_ERROR).

This is intended to be used to allow layers above the buffer cache to make
more informed decisions about when discarding dirty buffers without
successful write is acceptable.

As a proof of concept, use in msdosfs to handle failures to mark the on-disk
'dirty' bit during rw mount or ro-&gt;rw update.

Extending this to other filesystems is left as future work.

PR:		210316
Reviewed by:	kib (with objections)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D21539
</content>
</entry>
<entry>
<title>makefs: share msdosfsmount.h between kernel msdosfs and makefs</title>
<updated>2019-09-01T16:55:33Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-09-01T16:55:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=840aca288042eaf625a23908e807abdfde0bc21d'/>
<id>urn:sha1:840aca288042eaf625a23908e807abdfde0bc21d</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Properly update FSInfo block after generation.</title>
<updated>2019-08-23T05:23:45Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2019-08-23T05:23:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8651679a5c022f780d48a11d08e105a357e9fd75'/>
<id>urn:sha1:8651679a5c022f780d48a11d08e105a357e9fd75</id>
<content type='text'>
After populating the filesystem, write a FSInfo block with
proper information.

Reviewed by:	emaste, cem
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D21363
</content>
</entry>
<entry>
<title>makefs: diff reduction to sys/fs/msdosfs</title>
<updated>2019-08-22T17:49:34Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-08-22T17:49:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2037e9880c8c1bf3f8c82cebb27547b04e89accb'/>
<id>urn:sha1:2037e9880c8c1bf3f8c82cebb27547b04e89accb</id>
<content type='text'>
No functional change.
</content>
</entry>
<entry>
<title>makefs: Verify that the BPB media descriptor and FAT ID match</title>
<updated>2019-08-21T19:09:40Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-08-21T19:09:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=59e9b3695aaa2d5862b8cbc0ec51e9b6243bec23'/>
<id>urn:sha1:59e9b3695aaa2d5862b8cbc0ec51e9b6243bec23</id>
<content type='text'>
From r322982 in sys/fs/msdosfs.
</content>
</entry>
<entry>
<title>makefs: share denode.h between kernel msdosfs and makefs</title>
<updated>2019-08-21T19:07:13Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-08-21T19:07:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=476b0ab758b96103c246aefd2fee215e9544caa1'/>
<id>urn:sha1:476b0ab758b96103c246aefd2fee215e9544caa1</id>
<content type='text'>
There is no need to duplicate this file when it can be trivially
shared (just exposing sections previously under #ifdef _KERNEL).

MFC with:	r351273
Differential Revision:	The FreeBSD Foundation
</content>
</entry>
</feed>
