Re: Tar output mode for installworld

2007-07-18 Thread Ulrich Spoerlein
On Tue, 17.07.2007 at 13:00:20 -0700, Matthew Dillon wrote: > Probably the best way to do this is to pre-cache the data with an > /etc/rc.d script. Write a little program to do it or build it as a > script. Inode numbers for files on a CD tend to reflect the location That is an inter

Re: Tar output mode for installworld

2007-07-17 Thread Matthew Dillon
:... :>> files off of CD. :> :> True, but couldn't we optimize the ISO layout so it will be a near :> sequential read of the CD? : :Hmmm... This might work. The prototype 'ntree' support :I posted should be sufficient for people to experiment :with these ideas. : :Cheers, : :Tim Kientzle P

Re: Tar output mode for installworld

2007-07-16 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tim Kientzle wrote: >> Being able to record a series of incremental changes in a filesystem >> hierarchy, and then roll them back as required. That would be >> exceedingly useful, and I think your 'ntree' format has virtually >> everything necessary

Re: Tar output mode for installworld

2007-07-16 Thread Tim Kientzle
Ulrich Spoerlein wrote: On 7/15/07, Tim Kientzle <[EMAIL PROTECTED]> wrote: Plus: The specification file can re-use the existing files on CD, ... That is exactly what I was referring to above. And AFAIK DragonflyBSD does it in a similar way. They simply copy the live CD onto the HDD. Minus

Re: Tar output mode for installworld

2007-07-16 Thread Tim Kientzle
Being able to record a series of incremental changes in a filesystem hierarchy, and then roll them back as required. That would be exceedingly useful, and I think your 'ntree' format has virtually everything necessary to do that. The most obvious missing bit I can see is creating a backup of a f

Re: Tar output mode for installworld

2007-07-16 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tim Kientzle wrote: > Paul Schenkeveld wrote: >> Having a file describing everything that gets installed would also >> benefit >> later upgrades to a system. > > One of my questions: Does my proposed format suffice for these > other purposes? If

Re: Tar output mode for installworld

2007-07-15 Thread Ulrich Spoerlein
On 7/15/07, Tim Kientzle <[EMAIL PROTECTED]> wrote: Ulrich Spoerlein wrote: > Simple and elegant. It would also do away with those base.aa, base.ab, > etc. madness. I'm confused. base.aa, etc, are a tar file, so I don't entirely understand how this would be different? The current installer doe

Re: Tar output mode for installworld

2007-07-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Paul Schenkeveld <[EMAIL PROTECTED]> writes: : On Sat, Jul 14, 2007 at 11:28:05PM -0700, Tim Kientzle wrote: : > >>>This is easy to implement ... just build : > >>>a description of the final archive in a nice verbose : > >>>text format such as: : > >> : >

Re: Tar output mode for installworld

2007-07-15 Thread Eric Anderson
On 07/15/07 16:20, Tim Kientzle wrote: Ulrich Spoerlein wrote: On Sat, 14.07.2007 at 23:28:05 -0700, Tim Kientzle wrote: #%ntree bin/echo uid=0 gid=0 group=wheel contents=my/bin/echo ... create a tarball with tar -czf system.tgz @specification.ntree or install directly from the specificatio

Re: Tar output mode for installworld

2007-07-15 Thread Tim Kientzle
Ulrich Spoerlein wrote: On Sat, 14.07.2007 at 23:28:05 -0700, Tim Kientzle wrote: #%ntree bin/echo uid=0 gid=0 group=wheel contents=my/bin/echo ... create a tarball with tar -czf system.tgz @specification.ntree or install directly from the specification file using tar -xvpf specification.n

Re: Tar output mode for installworld

2007-07-15 Thread Giorgos Keramidas
On 2007-07-14 19:45, Tim Kientzle <[EMAIL PROTECTED]> wrote: >On 2007-07-14 13:20, Tim Kientzle <[EMAIL PROTECTED]> wrote: >>> >>> >>> This is easy to implement using a ... text format such as: >>> bin/sh file /usr/obj/usr/src/bin/sh >>> bin/s

Re: Tar output mode for installworld

2007-07-15 Thread Ulrich Spoerlein
On Sat, 14.07.2007 at 23:28:05 -0700, Tim Kientzle wrote: > #%ntree > bin/echo uid=0 gid=0 group=wheel contents=my/bin/echo > > I think this should form a reasonable basis against which > to implement tar output for installworld. I would actually > suggest building the specification file at

Re: Tar output mode for installworld

2007-07-15 Thread Tim Kientzle
Paul Schenkeveld wrote: ... read, extract, etc, a format I'm calling "ntree" for now. ... lines have the following format: = = ... Where key is one of: time ... gid,uid ... gname,uname ... mode ... content ... ... I've been playing a lot with automating and customizing the build/distribu

Re: Tar output mode for installworld

2007-07-15 Thread Paul Schenkeveld
On Sat, Jul 14, 2007 at 11:28:05PM -0700, Tim Kientzle wrote: > >>>This is easy to implement ... just build > >>>a description of the final archive in a nice verbose > >>>text format such as: > >> > >>...which is done by NetBSD for the unprivileged release building via > >>build.sh. Anyone interest

Re: Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
This is easy to implement ... just build a description of the final archive in a nice verbose text format such as: ...which is done by NetBSD for the unprivileged release building via build.sh. Anyone interested in working on this should possibly have a look there. Here's a rough implementatio

Re: Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
Joerg Sonnenberger wrote: On Sat, Jul 14, 2007 at 01:20:15PM -0700, Tim Kientzle wrote: 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: ...which is done by NetB

Re: Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
On 2007-07-14 13:20, Tim Kientzle <[EMAIL PROTECTED]> wrote: This is easy to implement using a ... text format such as: bin/sh file /usr/obj/usr/src/bin/sh bin/sh uname root rescue/mkdir hardlink rescue/rescue bin/sh mode 0666 bin/rcp

Re: Tar output mode for installworld

2007-07-14 Thread Giorgos Keramidas
On 2007-07-14 13:20, Tim Kientzle <[EMAIL PROTECTED]> 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 >

Re: Tar output mode for installworld

2007-07-14 Thread Joerg Sonnenberger
On Sat, Jul 14, 2007 at 01:20:15PM -0700, Tim Kientzle wrote: > 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: ...which is done by NetBSD for the unprivileged

Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
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 a