Date: Mon, 09 Jun 2008 16:26:26 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: any simple tool to extract files from an UFS image ? Message-ID: <g2jeii$3ht$1@ger.gmane.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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1AA848D5384DB627851F9E13 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Luigi Rizzo wrote: > Hi, > I am doing some work recently on small FreeBSD images (picobsd and frie= nds), > and I need to run on a linux machine some script to customize > both the UFS and the ISO image. >=20 > 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. >=20 > 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. >=20 > I know that bsdtar can read ISO images, but I don't think it does > the same on UFS.=20 If I understand you correctly, you may try mounting the images in Linux, with suitably compiled kernel. --------------enig1AA848D5384DB627851F9E13 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFITT2SldnAQVacBcgRAjuLAJ9LWgKY6pc9+FydLY88g2piIE3gXACgm2bU x2u906OyMUPpK2DCALlWoI4= =bR1h -----END PGP SIGNATURE----- --------------enig1AA848D5384DB627851F9E13--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g2jeii$3ht$1>