Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2008 13:49:35 -0700
From:      Bakul Shah <bakul@bitblocks.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Luigi Rizzo <rizzo@iet.unipi.it>, current@freebsd.org
Subject:   Re: any simple tool to extract files from an UFS image ? 
Message-ID:  <20080609204936.128EB5B4B@mail.bitblocks.com>
In-Reply-To: Your message of "Mon, 09 Jun 2008 11:50:23 PDT." <484D7B6F.6000205@elischer.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 09 Jun 2008 11:50:23 PDT Julian Elischer <julian@elischer.org>  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.
	http://swtch.com/plan9port/



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