From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 15 00:41:59 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5994616A400; Sun, 15 Jul 2007 00:41:59 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id BFCAE13C461; Sun, 15 Jul 2007 00:41:58 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup188.ach.sch.gr [81.186.70.188]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l6F0RFak027033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 15 Jul 2007 03:27:26 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l6F0R9uf003751; Sun, 15 Jul 2007 03:27:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l6F0R8AN003750; Sun, 15 Jul 2007 03:27:08 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 15 Jul 2007 03:27:08 +0300 From: Giorgos Keramidas To: Tim Kientzle Message-ID: <20070715002708.GA3665@kobe.laptop> References: <46992FFF.7010906@kientzle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46992FFF.7010906@kientzle.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.798, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.60, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: hackers@freebsd.org, rwatson@freebsd.org, cperciva@freebsd.org Subject: Re: Tar output mode for installworld X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2007 00:41:59 -0000 On 2007-07-14 13:20, Tim Kientzle wrote: > I saw this project suggestion on www.freebsd.org: > > > > and thought I'd contribute a couple of ideas and notes: > > This is easy to implement using a trick that I stumbled across > a few years ago. The idea is to just build a description of > the final archive in a nice verbose text format such as: > > > > E.g., > > bin/sh file /usr/obj/usr/src/bin/sh > bin/sh uname root > bin/sh gname wheel > rescue/mkdir hardlink rescue/rescue > bin/sh mode 0666 > bin/rcp mode 04666 This looks vaguely similar to the package 'prototype' files which Solaris uses for creating packages. I've written quite a few of them at ${realjob}, so if it looks interesting as a 'file list' format, I can help with the details. A packaging list for one of the distributions I've built at work includes stuff like: # Misc command-line tools in @prefix@/bin/... d none @prefix@/bin 0755 root bin f none @prefix@/bin/progname-2.0 0755 root bin s none @prefix@/bin/progname=progname-2.0 Something like this, which includes all the bits for a single file in one line may be nice even for mtree and verification of files installed :)