Re: Request for Comments: libarchive, bsdtar
From: Robert Watson (rwatson_at_freebsd.org)
Date: 01/14/04
- Previous message: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"
- In reply to: Tim Kientzle: "Request for Comments: libarchive, bsdtar"
- Next in thread: Vladimir Dozen: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Vladimir Dozen: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"
- Reply: M. Warner Losh: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Don Lewis: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Dag-Erling Smørgrav: "Re: Request for Comments: libarchive, bsdtar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 14 Jan 2004 14:24:46 -0500 (EST) To: Tim Kientzle <kientzle@acm.org>
On Tue, 13 Jan 2004, Tim Kientzle wrote:
...
All this generally sounds good.
> LIBARCHIVE BACKGROUND
>
> As many of you know, I've been working on a project to overhaul the pkg
> tools. Among many other things, this requires a library that can
> read/write tar archives. This avoids the significant overhead imposed
> from forking a separate tar program.
If you become a bored person requiring entertainment, it might be quite
interesting to create a read-only tarfs for use as a root file system
loaded in an md device. While there's a lot more to it than this, one of
the more irritating things about our current release build is that it
requires privilege so that it can chroot(), but also so it can manage md
devices and file system images. Just being able to use a tarball instead
of a UFS image would go a long way, although presumably require changes to
our loader as well. For work with diskless systems and network booting,
I'd much rather stick a tarball on an NFS server than create UFS images.
I know NetBSD has a neat tool to create file systems from userspace
without privilege, but my understanding is that it has to pull in a lot of
code from the kernel in fairly messy ways. Since tar files are a well
supported portable format... :-)
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Senior Research Scientist, McAfee Research
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"
- In reply to: Tim Kientzle: "Request for Comments: libarchive, bsdtar"
- Next in thread: Vladimir Dozen: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Vladimir Dozen: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"
- Reply: M. Warner Losh: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Don Lewis: "Re: Request for Comments: libarchive, bsdtar"
- Reply: Dag-Erling Smørgrav: "Re: Request for Comments: libarchive, bsdtar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Request for Comments: libarchive, bsdtar
... > requires privilege so that it can chroot, but also so it can manage md ...
> devices and file system images. ... > of a UFS image would go a long way,
... > I'd much rather stick a tarball on an NFS server than create UFS images. ...
(freebsd-arch) - Re: How to clone a HD in Linux?
... >> A reason to prefer this over tar could be increased performance. ...
I don't see what kind of Linux file system we're ... All usual dump caveats apply.
... (comp.os.linux.misc) - Re: Request for Comments: libarchive, bsdtar
... > devices and file system images. ... tar/gzip archives are streaming
archives. ... a UFS image, along the lines of mtools or mkisofs. ... and support
code already exist. ... (freebsd-arch) - RE: Copying a file system w/ tar - symbolic links not copied right.
... Copying a file system w/ tar - symbolic links ... I'm trying to move a file
system from one disk to another, ... but the symbolic links are copied ... use
of the intended addressee and may contain confidential ... (freebsd-questions) - Re: How to copy a Fedora-4 system? Again!
... You will have to exclude some directories, eg /proc, if you do this; ... I didn't
try tar on this occasion. ... I used rsync simply because it is easier to exclude
directories with this, ... file system I wanted (which may or may not be separate on ...
(Fedora)