From owner-freebsd-stable Thu Aug 17 22: 5: 5 2000 Delivered-To: freebsd-stable@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with SMTP id ED89B37B422 for ; Thu, 17 Aug 2000 22:05:00 -0700 (PDT) Received: by border.alcanet.com.au id <115286>; Fri, 18 Aug 2000 15:04:48 +1000 Content-return: prohibited Date: Fri, 18 Aug 2000 15:03:55 +1000 From: Peter Jeremy Subject: Re: remove empty TEMPROOT dirs at mergemaster's end? (was: cvs commit: src/usr.sbin/mergemaster mergemaster.sh) In-reply-to: <20000817232616.B296@sseye.ahab.com>; from luser@ahab.com on Thu, Aug 17, 2000 at 11:26:16PM -0400 To: Doug Barton , Brian Somers Cc: Jason T , Gerhard Sittig , FreeBSD stable Mail-followup-to: Doug Barton , Brian Somers , Jason T , Gerhard Sittig , FreeBSD stable Message-Id: <00Aug18.150448est.115286@border.alcanet.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.4i References: <200008171114.e7HBEuq01585@hak.lan.Awfulhak.org> <20000817232616.B296@sseye.ahab.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2000-Aug-17 23:26:16 -0400, Jason T wrote: >I think I can clarify. If mergemaster leaves ANY files behind, it also leave >the subdirectories, even the empty ones. The request is to have empty >subdirectories (of ${TEMPROOT}) removed automatically. This benefits anyone, >experienced or novice, who leaves some files behind for more deliberate >examination after mergemaster. Sounds useful. The other thing would be to delete the empty files which get generated by mtree. And whilst we're discussion wishlists for mergemaster: I recently discovered that it is only capable of merging into the current root directory. I have a system that I can dual-boot between different versions of FreeBSD - useful when the world compiles but doesn't work - wanted to run mergemaster into the `inactive' root partition. I have now patched mergemaster so that you can specify a DESTDIR. This works for everything except the XXX_mkdb commands. Would you be interested in patches? Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message