any simple tool to extract files from an UFS image ?

Bakul Shah bakul at
Mon Jun 9 21:06:27 UTC 2008

On Mon, 09 Jun 2008 11:50:23 PDT Julian Elischer <julian at>  wrote:
> Luigi Rizzo wrote:
> > On Mon, Jun 09, 2008 at 10:51:56AM -0700, Julian Elischer wrote:
> >> Luigi Rizzo wrote:
> >>> Hi,
> >>> I am doing some work recently on small FreeBSD images (picobsd and 
> >>> friends),
> >>> and I need to run on a linux machine some script to customize
> >>> both the UFS and the ISO image.
> >> dump and restore?

That was my first thought too!

> > the UFS image is just a file produced on FreeBSD - i'd rather not
> > require root privs to mount the image in order to manipulate it.
> > 
> > cheers
> > luigi
> dump reads the UFS filesystem directly does it not? piped into 
> restore, it puts the files onto a mounted filesystem.

You'd have to modify dump a bit since it insists on a special
device to dump from (and make dump+restore work on linux).

Or he can use vbackup & vftp from plan9ports. vbackup can
read a variety of filesystems and archive them to a venti
server.  vftp can be used to retrieve files from venti. None
of the three require root privs and already work on linux.

More information about the freebsd-current mailing list