Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2015 06:52:48 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Moritz Wilhelmy <moritz@wzff.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dump(8) file format
Message-ID:  <20150131065248.d1c295f9.freebsd@edvax.de>
In-Reply-To: <20150130192351.GR16100@barfooze.de>
References:  <20150130192351.GR16100@barfooze.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Jan 2015 20:23:51 +0100, Moritz Wilhelmy wrote:
> Hello,
> 
> Just wondering: Is there any documentation regarding the format of FFS
> dumps generated by dump(8)?

The source code provides documentation. Have a look
at the contents of /usr/src/sbin/dump as well as
of /usr/src/sbin/restore. You could say that the
file /usr/src/sbin/restore/restore.h has a "file
format description" of dump files.



> I'd be interested in poking around in my disk dumps with a perl script
> or something. --- Perhaps one could even write a fuse file system that 
> can union-mount multiple layers of FFS dumps read-only?

That sounds a bit complicated, as the files are,
if I remember correctly, sequencial files, so you'd
probably have to "preprocess" the whole file. Note
that it's not a file archive, but a file _system_
dump. But maybe obtaining "header informations" is
sufficient for some imaginable purposes?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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