Simple fix to big mistake: mtreeby J. Edward Durrett
mtree -U -f /etc/mtree/BSD.root.dist && mtree -U -f
/etc/mtree/BSD.sendmail.dist && cd var && mtree -U -f
/etc/mtree/BSD.var.dist && cd ../usr && mtree -U -f
Now mtree is a BSD tool not installed by default on other non-BSD Unix
systems. For Debian, a search of packages reveals that it is part of a
larger package, freebsd-buildutils. Installing that package will install
fmtree in /usr/bin. For Red Hat and others, there is a project porting
mtree on github:
Copyright (c) 2019, Jason Edward Durrett - All content on this site, unless otherwise noted, is subject to this license.
Please contact me if any errors, such as erroneous / misleading content or missing / incomplete attribution, are found.