Bug 206647 - incomplete output in mtree output message
Summary: incomplete output in mtree output message
Status: New
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 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-26 15:31 UTC by Jimmy Olgeni
Modified: 2016-05-31 13:11 UTC (History)
0 users

See Also:


Attachments

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