#
363317 |
|
19-Jul-2020 |
delphij |
MFC r362937: Use KERN_MAXPHYS.
|
#
363314 |
|
18-Jul-2020 |
delphij |
MFC r362936: Gather writes to larger chunks (MAXPHYS) instead of issuing them in sectors.
|
#
357516 |
|
04-Feb-2020 |
dim |
MFC r351382 (by delphij):
When creating a new FAT32 filesystem, use "unknown" (0xFFFFFFFF) for FSI_Nxt_Free instead of providing a wrong value.
With this change, fsck_msdosfs would no longer complain about invalid FSInfo information.
MFC r355317 (by delphij):
newfs_msdos: -A is incompatible with -r, not -o.
PR: 242314 Submitted by: Guy Yur <guyyur gmail com>
MFC r357227:
Merge r357225 from the clang1000-import branch:
Fix the following -Werror warning from clang 10.0.0 in newfs_msdos:
sbin/newfs_msdos/newfs_msdos.c:181:2: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] if (o.align) { ^ sbin/newfs_msdos/newfs_msdos.c:179:5: note: previous statement is here if (argc < 1 || argc > 2) ^
|
#
355999 |
|
22-Dec-2019 |
delphij |
MFC r355318, r355513
r355318: Explicitly exit() instead of return in main().
r355513: Fix a couple of minor issues with newfs_msdos:
- Do not unnecessarily strdup(). - Check return value of getdiskinfo(), if it failed, bail out.
|
#
343044 |
|
15-Jan-2019 |
kevans |
MFC r305074-r305075, r327275, r327570: newfs_msdos updates
r305074: Remove CHS alignment. It's not needed and causes problems for the BBB boot partition. NetBSD removed it in 1.10 in their repo some time ago.
r305075: The code only converts from bpbHugeSectors to bpbSectors if the sum of the hidden and huge sectors is less than or equal MAXU16. When formatting in Windows bpbSectors is still used for 63488 sectors and 2048 hidden (sum > MAXU16). The hidden sectors count is the number of sectors before the FAT16 Boot Record so it shouldn't affect the sector count. Attached patch (huge_sec_conversion.patch) to only check for bpb.bpbHugeSectors <= MAXU16 when converting to bpbSectors.
r327275: Close fd and fd1 before returning now that we're done with them.
r327570: Only call close if fd and fd1 are not -1.
PR: 183234
|
#
336329 |
|
16-Jul-2018 |
delphij |
MFC r335189:
Added option to cluster-align the start of the root directory.
Obtained from: Android Obtained from: https://android.googlesource.com/platform/system/core/+/052f27562154d175267999106bd6bf18fc8c363e Obtained from: https://android.googlesource.com/platform/system/core/+/8218b6aae9cd4a19fa074a8a8203fe9275b35447 Differential Revision: https://reviews.freebsd.org/D15672
|
#
336328 |
|
16-Jul-2018 |
delphij |
MFC r318355,318366: add -T (timestamp) option for reproducible builds
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
298250 |
|
19-Apr-2016 |
araujo |
Use nitems() from sys/param.h.
MFC after: 2 weeks.
|
#
291908 |
|
06-Dec-2015 |
ngie |
Fix leak in mkfs_msdos(..) by initializing img to NULL and free'ing at the end of the function
Differential Revision: https://reviews.freebsd.org/D4405 MFC after: 1 week PR: 204943 Reviewed by: emaste, jilles Reported by: David Binderman <dcb314@hotmail.com> Sponsored by: EMC / Isilon Storage Division
|
#
291382 |
|
27-Nov-2015 |
emaste |
mkfs_msdos: sync with NetBSD
Add a sanity test and clean up whitespace.
Obtained from: NetBSD
|
#
291219 |
|
23-Nov-2015 |
emaste |
newfs_msdos: rework error handling for eventual use in makefs
Return -1 on errors from mkfs_msdos() instead of err()/errx(), to allow different consumers to handle errors as appropriate.
Obtained from: NetBSD Sponsored by: The FreeBSD Foundation
|
#
289424 |
|
16-Oct-2015 |
emaste |
newfs_msdos: prefer snprintf to sprintf
Obtained from: NetBSD Sponsored by: The FreeBSD Foundation
|
#
289376 |
|
15-Oct-2015 |
emaste |
newfs_msdos: move mkfs_msdos to separate file for later use in makefs
Sponsored by: The FreeBSD Foundation
|