Bug 206647 - incomplete output in mtree output message
Summary: incomplete output in mtree output message
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2016-01-26 15:31 UTC by Jimmy Olgeni
Modified: 2020-05-24 13:58 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy Olgeni freebsd_committer 2016-01-26 15:31:31 UTC
Trivial but true :)

When running mtree, sometimes the console output may be incomplete.

You can trick it this way:

# chflags schg /var/empty
# mtree -deU -f /etc/mtree/BSD.var.dist -p /var
empty:  flags ("schg" is not "schg,uarch", modified to "none")
# mtree -deU -f /etc/mtree/BSD.var.dist -p /var
empty:  flags ("schg" is not "none"

The last message is also missing the "\n" at the end.
Comment 1 Jimmy Olgeni freebsd_committer 2016-05-31 13:11:38 UTC
10.3-STABLE #0 r299460 for reference
Comment 2 Jimmy Olgeni freebsd_committer 2020-05-24 13:58:36 UTC
Doesn't seem to apply anymore.