Summary: | makefs has trouble with nlink,time attributes from MANIFEST files | ||
---|---|---|---|
Product: | Base System | Reporter: | Bjoern A. Zeeb <bz> |
Component: | bin | Assignee: | Ed Maste <emaste> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | brooks, bz, emaste |
Priority: | --- | ||
Version: | 10.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Bjoern A. Zeeb
![]() ![]() Bulk taking makefs bugs. makeroot.sh workaround for the time issue: https://reviews.freebsd.org/D6925 A commit references this bug: Author: emaste Date: Thu Jun 23 19:19:44 UTC 2016 New revision: 302146 URL: https://svnweb.freebsd.org/changeset/base/302146 Log: makeroot: zero out subsecond component of time= keywords They are currently not supported by makefs(1). PR: 194703 Reviewed by: brooks Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6925 Changes: head/tools/tools/makeroot/makeroot.sh Handing a number of makefs, mtree, and msdosfs bugs in my queue over to emaste@. Reset asignee - I am not currently looking at this PR. A commit references this bug: Author: emaste Date: Mon Mar 18 19:26:36 UTC 2019 New revision: 345281 URL: https://svnweb.freebsd.org/changeset/base/345281 Log: makefs: Fix "time" mtree attribute handling When processing mtree(5) MANIFEST files, makefs(8) previously threw an error if it encountered an entry whose "time" attribute contained a non-zero subsecond component (e.g. time=1551620152.987220000). Update the handling logic to properly assign the subsecond component if built with nanosecond support, or silently discard it otherwise. Also, re-enable the time attribute for the kyua tests. PR: 194703 Submitted by: Mitchell Horne <mhorne063@gmail.com> Differential Revision: https://reviews.freebsd.org/D19627 Changes: head/usr.sbin/makefs/mtree.c head/usr.sbin/makefs/tests/makefs_tests_common.sh A commit references this bug: Author: emaste Date: Wed Mar 27 17:28:23 UTC 2019 New revision: 345583 URL: https://svnweb.freebsd.org/changeset/base/345583 Log: revert r302146: makeroot: zero out subsecond component of time= keywords After r345281 by mhorne subsecond components are supported. PR: 194703 Sponsored by: The FreeBSD Foundation Changes: head/tools/tools/makeroot/makeroot.sh A commit references this bug: Author: emaste Date: Mon Sep 9 17:22:12 UTC 2019 New revision: 352077 URL: https://svnweb.freebsd.org/changeset/base/352077 Log: MFC r345281: makefs: Fix "time" mtree attribute handling When processing mtree(5) MANIFEST files, makefs(8) previously threw an error if it encountered an entry whose "time" attribute contained a non-zero subsecond component (e.g. time=1551620152.987220000). Update the handling logic to properly assign the subsecond component if built with nanosecond support, or silently discard it otherwise. Also, re-enable the time attribute for the kyua tests. PR: 194703 Submitted by: mhorne Changes: _U stable/12/ stable/12/usr.sbin/makefs/mtree.c stable/12/usr.sbin/makefs/tests/makefs_tests_common.sh |