From owner-freebsd-hackers Mon Oct 2 14:53:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id C30DF37B502; Mon, 2 Oct 2000 14:53:32 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.0/8.9.3) with ESMTP id e92LrSN43780; Mon, 2 Oct 2000 23:53:28 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org, hackers@freebsd.org Subject: mtree verification output format From: Poul-Henning Kamp Date: Mon, 02 Oct 2000 23:53:28 +0200 Message-ID: <43778.970523608@critter> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like to change the outputformat of mtree(8) to be more systematic and machine-readable. The changes amount to: make "extra" and "missing" attributes in the output rather than prefixes which can be confused with filenames. Don't do the "run-in" of the first attribute with a short filename I attach below a before/after example which show the effect. Any objections ? Poul-Henning Before: ------------ rc: size (13134, 13135) cksum (2005920215, 873112433) ttys: cksum (2486739860, 2798556681) extra: bla malloc.conf: permissions (0755, 0777) missing: ./objformat ------------ After: ------------ rc: size (13134, 13135) cksum (2005920215, 873112433) ttys: cksum (2486739860, 2798556681) bla: extra malloc.conf: permissions (0755, 0777) ./objformat: missing ------------ -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message