Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2008 10:51:56 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        current@freebsd.org
Subject:   Re: any simple tool to extract files from an UFS image ?
Message-ID:  <484D6DBC.4040309@elischer.org>
In-Reply-To: <20080609141441.GA5025@onelab2.iet.unipi.it>
References:  <20080609141441.GA5025@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

> 
> Because the customization is just writing some text into a file,
> my approach is to put in the UFS image a file with a recognizable
> start and end markers, and then dd into the image the stuff I need.
> 
> I was wondering if i could avoid shipping both images, and instead
> use some trick to extract the tree from the UFS image and then
> use mkisofs on the linux side to build the ISO.
> 
> I know that bsdtar can read ISO images, but I don't think it does
> the same on UFS. Yet, if the boot2 code is able to squeeze the
> required pieces on 8k or so, maybe there is some simple (and portable)
> tool that can do the file extraction job ?
> 
> 	cheers
> 	luigi
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




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