Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Oct 2000 23:53:28 +0200
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        current@freebsd.org, hackers@freebsd.org
Subject:   mtree verification output format
Message-ID:  <43778.970523608@critter>

next in thread | raw e-mail | index | archive | help

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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43778.970523608>